We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc5af5a commit 7f00605Copy full SHA for 7f00605
src/Commando/Command.php
@@ -293,6 +293,8 @@ private function parseIfNotParsed()
293
*/
294
public function parse()
295
{
296
+ $this->parsed = true;
297
+
298
try {
299
$tokens = $this->tokens;
300
// the executed filename
@@ -368,9 +370,6 @@ public function parse()
368
370
// Used in the \Iterator implementation
369
371
$this->sorted_keys = array_keys($this->options);
372
natsort($this->sorted_keys);
-
- $this->parsed = true;
373
374
} catch(\Exception $e) {
375
$this->error($e);
376
}
0 commit comments