8000 [Console] Add missing ZSH mention in DumpCompletionCommand help · symfony/symfony@fd957a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit fd957a9

Browse files
committed
[Console] Add missing ZSH mention in DumpCompletionCommand help
1 parent 2c980d7 commit fd957a9

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