Skip to content
Permalink
Browse files

Show error message before output help when missing method

  • Loading branch information...
littleylv committed Sep 13, 2017
1 parent d8a4ff8 commit 6da6d0bfb60fd19c084b02546c18a3c7538e090c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Console/Shell.php
@@ -508,6 +508,7 @@ public function runCommand($argv, $autoMethod = false, $extra = [])
return $this->main(...$this->args);
}
$this->err('No subcommand provided. Choose one of the available subcommands.', 2);
$this->out($this->OptionParser->help($command));
return false;

0 comments on commit 6da6d0b

Please sign in to comment.
You can’t perform that action at this time.