Skip to content

Commit

Permalink
Merge pull request #10 from felds/master
Browse files Browse the repository at this point in the history
Avoid double help
  • Loading branch information
nategood committed Jun 28, 2013
2 parents 6883f6b + 7f00605 commit 7b65aa7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Commando/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ private function parseIfNotParsed()
*/
public function parse()
{
$this->parsed = true;

try {
$tokens = $this->tokens;
// the executed filename
Expand Down Expand Up @@ -368,9 +370,6 @@ public function parse()
// Used in the \Iterator implementation
$this->sorted_keys = array_keys($this->options);
natsort($this->sorted_keys);

$this->parsed = true;

} catch(\Exception $e) {
$this->error($e);
}
Expand Down

0 comments on commit 7b65aa7

Please sign in to comment.