From 37dda3e17e4d8a70e9c5a5dc41b8c2f9138e5666 Mon Sep 17 00:00:00 2001 From: Helmut Hummel Date: Sun, 11 Apr 2021 19:33:15 +0200 Subject: [PATCH] [BUGFIX] Hard code description for base commands as well --- Classes/Console/Mvc/Cli/Symfony/Command/HelpCommand.php | 1 + Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php | 1 + Documentation/CommandReference/Help.rst | 2 +- Documentation/CommandReference/List.rst | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Classes/Console/Mvc/Cli/Symfony/Command/HelpCommand.php b/Classes/Console/Mvc/Cli/Symfony/Command/HelpCommand.php index 08445a42..0be29d44 100644 --- a/Classes/Console/Mvc/Cli/Symfony/Command/HelpCommand.php +++ b/Classes/Console/Mvc/Cli/Symfony/Command/HelpCommand.php @@ -53,6 +53,7 @@ protected function configure() { parent::configure(); $this->setAliases([]); + $this->setDescription('Display help for a command'); $this->setHelp( <<<'EOF' The %command.name% command displays help for a given command: diff --git a/Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php b/Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php index 59d70383..9ec9de1e 100644 --- a/Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php +++ b/Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php @@ -30,6 +30,7 @@ protected function configure() { parent::configure(); $this->amendDefinition($this->getDefinition()); + $this->setDescription('List commands'); $this->setHelp( <<<'EOF' The %command.name% command lists all commands: diff --git a/Documentation/CommandReference/Help.rst b/Documentation/CommandReference/Help.rst index 6944b376..c66873a4 100644 --- a/Documentation/CommandReference/Help.rst +++ b/Documentation/CommandReference/Help.rst @@ -13,7 +13,7 @@ help ==== -**Displays help for a command** +**Display help for a command** The `help` command displays help for a given command: diff --git a/Documentation/CommandReference/List.rst b/Documentation/CommandReference/List.rst index 4dbf8e8a..c0993db2 100644 --- a/Documentation/CommandReference/List.rst +++ b/Documentation/CommandReference/List.rst @@ -13,7 +13,7 @@ list ==== -**Lists commands** +**List commands** The `list` command lists all commands: