You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the completion now works only for optional arguments, positional arguments (s.a. your example) don't have the completion implemented.
This is not trivial, as the completion functionality would generally have to understand what argument is being completed. This is easy for optional args (it is enough just to look at the previous word on the command-line), but it is more complicated for positional arguments - is it the first one, second one, ...?
I have an script that has a list of string values that are acceptable as a command.
It would be nice if the help output included the list of possible values for that specific command. Currently, this is all you get...
You can't find out what the possible values are unless you give the generated script a bogus value.
Also,
The bash completion doesn't support showing those list when you try tab for the command.
The text was updated successfully, but these errors were encountered: