Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Mar 22, 2023

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

@@ -55,7 +55,7 @@ protected function configure()
$this
->setHelp(<<<EOH
The <info>%command.name%</> command dumps the shell completion script required
to use shell autocompletion (currently, bash and fish completion is supported).
to use shell autocompletion (currently, bash, zsh and fish completion are supported).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this list should be generated from $this->getSupportedShells(), to avoid having to remember this help text each time we add a new supported shell.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oups, I forgot this PR! Fixed!

@lyrixx lyrixx force-pushed the console-completion-help branch 2 times, most recently from 34f3653 to 8ae562e Compare March 28, 2023 17:22
@lyrixx lyrixx force-pushed the console-completion-help branch from 8ae562e to fd957a9 Compare March 28, 2023 17:23
@fabpot
Copy link
Member

fabpot commented Mar 28, 2023

Thank you @lyrixx.

@fabpot fabpot merged commit eb9f258 into symfony:6.2 Mar 28, 2023
@lyrixx lyrixx deleted the console-completion-help branch March 28, 2023 18:43
@fabpot fabpot mentioned this pull request Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants