8 Commits

Author SHA1 Message Date
Ville Skyttä
c875723bef Include trailing equals sign in options that take arguments that way.
This way it's clearer to users that an argument is expected.  It's
likely that this commit does not catch all such cases, but it should
do it for most of the affected commands I have installed.
2011-05-02 11:45:55 +03:00
Ville Skyttä
a54857cd05 _init_completion: Add -s for splitting long options, use it in completions. 2011-05-02 00:04:26 +03:00
Ville Skyttä
4f35919e69 Convert more completions to use _parse_help() instead of hardcoded option lists. 2011-04-29 12:27:21 +03:00
Ville Skyttä
4ea93b286e cryptsetup, wvdial: Use _split_longopt(). 2011-04-29 12:24:58 +03:00
Ville Skyttä
4c9789605f Use _init_completion() in completions/c*. 2011-04-20 14:42:30 +03:00
Ville Skyttä
007f7f5b01 Don't leak local $args. 2011-04-20 14:33:51 +03:00
Ville Skyttä
9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00