canonical / canonical/multipass

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

Open
#3,435 2 comments 0 reactions 0 assignees View on GitHub
CLI shell completion
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

**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 `
1. --all --verbose logical-condor useful-apaca --verbose

**Expected behavior**
--all logical-condor useful-apaca

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Bash completion with `multipass start ` and compare the current suggestions with the expected list. Find the Multipass CLI completion entry point that supplies these options, then verify that `--verbose` and `--help` are no longer listed while command-specific options and instance names remain available.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.