We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Completions for 'alternatives' command are broken.
These are the steps to reproduce on Fedora:
bash-completion
alternatives <TAB>
Different options supported by alternatives command should be listed.
alternatives
echo "$BASH_VERSION"
(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
The text was updated successfully, but these errors were encountered:
Option names are supposed to be generated by _comp_compgen_help
_comp_compgen_help
bash-completion/completions/update-alternatives
Line 86 in b44b29c
but the output of alternatives --help is not in a format parsed by _comp_compgen_help:
alternatives --help
$ alternatives --help alternatives version 1.26 - Copyright (C) 2001 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: alternatives --install <link> <name> <path> <priority> [--initscript <service>] [--family <family>] [--follower <follower_link> <follower_name> <follower_path>]* alternatives --remove <name> <path> alternatives --auto <name> alternatives --config <name> alternatives --display <name> alternatives --set <name> <path/family> alternatives --list alternatives --remove-all <name> alternatives --add-follower <name> <path> <follower_link> <follower_name> <follower_path> alternatives --remove-follower <name> <path> <follower_name> common options: --verbose --test --help --usage --version --keep-missing --keep-foreign --altdir <directory> --admindir <directory>
Sorry, something went wrong.
akinomyoga
Successfully merging a pull request may close this issue.
Describe the bug
Completions for 'alternatives' command are broken.
To reproduce
These are the steps to reproduce on Fedora:
bash-completion
package is installed.alternatives <TAB>
.Expected behavior
Different options supported by
alternatives
command should be listed.Versions (please complete the following information)
echo "$BASH_VERSION"
: 5.2.26(1)-release(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
: 2.13.0The text was updated successfully, but these errors were encountered: