Skip to content

Commit f816367

Browse files
committed
feature #39904 [Console] add option --short to the list command (nicolas-grekas)
This PR was merged into the 5.3-dev branch. Discussion ---------- [Console] add option `--short` to the `list` command | Q | A | ------------- | --- | Branch? | 5.x | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - This PR is a follow up of symfony/symfony#39851, triggered by @wouterj's comment at symfony/symfony#39851 (review). This new option should enable creating fast shell auto-completion, by allowing the `list` command to run fast. Commits ------- 81d5728f4a [Console] add option `--short` to the `list` command
2 parents bc777e6 + e08672d commit f816367

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Command/DebugAutowiringCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class DebugAutowiringCommand extends ContainerDebugCommand
3131
{
3232
protected static $defaultName = 'debug:autowiring';
3333
protected static $defaultDescription = 'Lists classes/interfaces you can use for autowiring';
34+
3435
private $supportsHref;
3536
private $fileLinkFormatter;
3637

Command/XliffLintCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
class XliffLintCommand extends BaseLintCommand
2626
{
2727
protected static $defaultName = 'lint:xliff';
28+
protected static $defaultDescription = 'Lints a XLIFF file and outputs encountered errors';
2829

2930
public function __construct()
3031
{

Command/YamlLintCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
class YamlLintCommand extends BaseLintCommand
2525
{
2626
protected static $defaultName = 'lint:yaml';
27+
protected static $defaultDescription = 'Lints a file and outputs encountered errors';
2728

2829
public function __construct()
2930
{

0 commit comments

Comments
 (0)