Bug #822
openbash-completion sometimes completes too much
0%
Description
I am not sure how to word it, but here is an example. I have a single session, named "auto-20140728-134322".
$ lttng des<tab> => $ lttng destroy
That's good, now let's press tab again:
$ lttng destroy <tab> => $ lttng destroy auto-20140728-134322
That's good, now let's press tab again:
$ lttng destroy auto-20140728-134322 <tab> => $ lttng destroy auto-20140728-134322 auto-20140728-134322
Oops, we can go like that for a long time. Every <tab> press adds a "auto-20140728-134322". It should detect that we already gave a positional argument. Since the command takes only one positional argument, subsequent <tab> presses should do nothing.
Updated by David Goulet about 10 years ago
- Status changed from New to Confirmed
- Assignee set to Simon Marchi
Simon, I'm assigning this to you since you are basically the maintainer of that wonderful extra feature.