Skip to content
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

[cli] Tab completion for multipass: do not list generic options #3435

Open
hartmutobendorf opened this issue Mar 14, 2024 · 1 comment
Open

Comments

@hartmutobendorf
Copy link

Describe the bug
When using tab completion with the multipass CLI and bash, --verbose and --help are listed whenever a completion is asked for. This creates noise that makes it harder to find the relevant information.

To Reproduce
How, and what happened?

  1. multipass start <TAB>
  2. --all --verbose logical-condor useful-apaca --verbose

Expected behavior
--all logical-condor useful-apaca

@hartmutobendorf hartmutobendorf added bug needs triage Issue needs to be triaged labels Mar 14, 2024
@georgeliao
Copy link
Contributor

Hi @hartmutobendorf

Thanks for the report.

Normally, the tab completion lists all possible options, because it is still a possibility that the user wants to tab-complete to the generic options like --help and --verbose. However, it is definitely less frequent than completing to other non-generic options, which in a way becomes "noise" as you mentioned. So a certain degree of precedence might improve the user experience.

We will definitely consider this.

@townsend2010 townsend2010 removed the needs triage Issue needs to be triaged label Mar 18, 2024
@townsend2010 townsend2010 changed the title Tab completion for multipass: do not list generic options [cli] Tab completion for multipass: do not list generic options Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants