Skip to content

Commit

Permalink
Add CLI.commandNotFound language string
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Dec 1, 2018
1 parent f5d9f62 commit 817a9cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion system/CLI/CommandRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function runCommand(string $command, array $params)
{
if (! isset($this->commands[$command]))
{
CLI::error('Command \'' . $command . '\' not found');
CLI::error(lang('CLI.commandNotFound', [$command]));
CLI::newLine();
return;
}
Expand Down
1 change: 1 addition & 0 deletions system/Language/en/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

return [
'commandNotFound' => 'Command "{0}" not found.',
'helpUsage' => 'Usage:',
'helpDescription' => 'Description:',
'helpOptions' => 'Options:',
Expand Down

0 comments on commit 817a9cd

Please sign in to comment.