8000 bug #49765 [Console] Add missing ZSH mention in DumpCompletionCommand… · symfony/symfony@eb9f258 · GitHub
[go: up one dir, main page]

Skip to content

Commit eb9f258

Browse files
committed
bug #49765 [Console] Add missing ZSH mention in DumpCompletionCommand help (lyrixx)
This PR was merged into the 6.2 branch. Discussion ---------- [Console] Add missing ZSH mention in DumpCompletionCommand help | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | --- See https://github.com/symfony/symfony/blob/6.2/src/Symfony/Component/Console/Resources/completion.zsh And I check, it doesn't exist on 5.4 Commits ------- fd957a9 [Console] Add missing ZSH mention in DumpCompletionCommand help
2 parents 2c980d7 + fd957a9 commit eb9f258

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/Console/Command/DumpCompletionCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ protected function configure()
5252
default => ['~/.bashrc', "/etc/bash_completion.d/$commandName"],
5353
};
5454

55+
$supportedShells = implode(', ', $this->getSupportedShells());
56+
5557
$this
5658
->setHelp(<<<EOH
5759
The <info>%command.name%</> command dumps the shell completion script required
58-
to use shell autocompletion (currently, bash and fish completion is supported).
60+
to use shell autocompletion (currently, {$supportedShells} completion are supported).
5961
6062
<comment>Static installation
6163
-------------------</>

0 commit comments

Comments
 (0)
0