Skip to content

Commit

Permalink
Merge pull request #982 from helhum/fix-command-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
helhum committed Apr 11, 2021
2 parents bd92874 + 37dda3e commit 3d0a322
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Classes/Console/Mvc/Cli/Symfony/Command/HelpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ protected function configure()
{
parent::configure();
$this->setAliases([]);
$this->setDescription('Display help for a command');
$this->setHelp(
<<<'EOF'
The <info>%command.name%</info> command displays help for a given command:
Expand Down
1 change: 1 addition & 0 deletions Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ protected function configure()
{
parent::configure();
$this->amendDefinition($this->getDefinition());
$this->setDescription('List commands');
$this->setHelp(
<<<'EOF'
The <info>%command.name%</info> command lists all commands:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/CommandReference/Help.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ help
====


**Displays help for a command**
**Display help for a command**

The `help` command displays help for a given command:

Expand Down
2 changes: 1 addition & 1 deletion Documentation/CommandReference/List.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ list
====


**Lists commands**
**List commands**

The `list` command lists all commands:

Expand Down

0 comments on commit 3d0a322

Please sign in to comment.