multipass icon indicating copy to clipboard operation
multipass copied to clipboard

Bash completion suggests multiple instances for single-instance commands

Open ricab opened this issue 2 years ago • 0 comments

$ multipass shell [TAB][TAB]
aspirant-ermine  --help           luscious-elf     --verbose
$ multipass shell aspirant-ermine [TAB]
--help           luscious-elf     --verbose

But shell only accepts one instance... Other commands are affected too.

Expected behavior No instances would be suggested after the first free argument. In shell or snapshot, free arguments could be identified by whether or not they start with a dash. In exec or mount, it is a little trickier.

ricab avatar Oct 17 '23 14:10 ricab