Skip to content

Commit

Permalink
shells => commands in docs block
Browse files Browse the repository at this point in the history
  • Loading branch information
saeideng committed Dec 17, 2018
1 parent 74af677 commit 4407ccb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Command/HelpCommand.php
Expand Up @@ -44,7 +44,7 @@ public function setCommandCollection(CommandCollection $commands)
}

/**
* Main function Prints out the list of shells.
* Main function Prints out the list of commands.
*
* @param \Cake\Console\Arguments $args The command arguments.
* @param \Cake\Console\ConsoleIo $io The console io
Expand Down Expand Up @@ -116,8 +116,8 @@ protected function asText($io, $commands)
}
$io->out('');

$io->out('To run a command, type <info>`cake shell_name [args|options]`</info>');
$io->out('To get help on a specific command, type <info>`cake shell_name --help`</info>', 2);
$io->out('To run a command, type <info>`cake command_name [args|options]`</info>');
$io->out('To get help on a specific command, type <info>`cake command_name --help`</info>', 2);
}

/**
Expand Down Expand Up @@ -153,7 +153,7 @@ protected function asXml($io, $commands)
protected function buildOptionParser(ConsoleOptionParser $parser)
{
$parser->setDescription(
'Get the list of available shells for this application.'
'Get the list of available commands for this application.'
)->addOption('xml', [
'help' => 'Get the listing as XML.',
'boolean' => true
Expand Down

0 comments on commit 4407ccb

Please sign in to comment.