-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Config] show proposals when unsupported option is provided #28085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(with minor comment)
|
||
if (\count($guesses)) { | ||
asort($guesses); | ||
$msg .= sprintf('. Did you mean "%s" ?', implode('", "', array_keys($guesses))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the space before ?
should be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
Thank you @fmata. |
…vided (fmata) This PR was merged into the 4.2-dev branch. Discussion ---------- [Config] show proposals when unsupported option is provided | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #28075 | License | MIT | Doc PR | none In case of proposals match with the provided option, all proposals are displayed. In case of no pertinent proposal is available, all options are displayed in alpha order. Commits ------- 15f69a3 [Config] show proposals when unsupported option is provided
In case of proposals match with the provided option, all proposals are displayed.
In case of no pertinent proposal is available, all options are displayed in alpha order.