Skip to content

Commit 888d492

Browse files
committed
minor #40387 Fix #36973: Command description consistency (danepowell)
This PR was merged into the 4.4 branch. Discussion ---------- Fix #36973: Command description consistency | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #36973 | License | MIT | Doc PR | symfony/symfony-docs#15062 This rewords command descriptions and options to use consistent verb mood. Commits ------- 01e18b039a Fix #36973: Command description consistency
2 parents 1a9aa12 + 454c86b commit 888d492

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Command/DebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function configure()
7474
new InputOption('filter', null, InputOption::VALUE_REQUIRED, 'Show details for all entries matching this filter'),
7575
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (text or json)', 'text'),
7676
])
77-
->setDescription('Shows a list of twig functions, filters, globals and tests')
77+
->setDescription('Show a list of twig functions, filters, globals and tests')
7878
->setHelp(<<<'EOF'
7979
The <info>%command.name%</info> command outputs a list of twig functions,
8080
filters, globals and tests.

Command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(Environment $twig)
4848
protected function configure()
4949
{
5050
$this
51-
->setDescription('Lints a template and outputs encountered errors')
51+
->setDescription('Lint a template and outputs encountered errors')
5252
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format', 'txt')
5353
->addOption('show-deprecations', null, InputOption::VALUE_NONE, 'Show deprecations as errors')
5454
->addArgument('filename', InputArgument::IS_ARRAY, 'A file, a directory or "-" for reading from STDIN')

0 commit comments

Comments
 (0)