diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-05-02 11:41:52 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-05-02 11:45:55 +0300 |
commit | c875723bef3b47a1fb0f364e6e0b2c282f46dce3 (patch) | |
tree | 5a4945a631e02b93c277de7e180ff5c45b5c9ce4 /completions/gzip | |
parent | 0a84ad771dcd063c48b8f1dca4c4d7cb2b01814b (diff) | |
download | bash-completion-c875723bef3b47a1fb0f364e6e0b2c282f46dce3.tar.gz |
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.
Diffstat (limited to 'completions/gzip')
-rw-r--r-- | completions/gzip | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/completions/gzip b/completions/gzip index 3913c83b..3b33de11 100644 --- a/completions/gzip +++ b/completions/gzip @@ -16,6 +16,7 @@ _gzip() if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_help "$1" ) {-1..-9}' \ -- "$cur" ) ) + [[ $COMPREPLY == *= ]] && compopt -o nospace return 0 fi |