diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-10-18 22:12:37 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-10-18 22:12:37 +0300 |
commit | 2c83f0ff43c9f908e686889de4c9354d561f4e26 (patch) | |
tree | e54a4791248f0cfa5e39a612ce3d33940eed937c /contrib/mc | |
parent | c11af089d658ad99b60314e09a68bdecac819d56 (diff) | |
download | bash-completion-2c83f0ff43c9f908e686889de4c9354d561f4e26.tar.gz |
Remove many unnecessary short option completions where long ones exist.
Diffstat (limited to 'contrib/mc')
-rw-r--r-- | contrib/mc | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -29,12 +29,10 @@ _mc() $split && return 0 if [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W '-a --stickchars -b --nocolor -c \ - --color -C --colors -d --nomouse -e --edit -f \ - --datadir -k --resetsoft -l --ftplog -P --printwd \ - -s --slow -t --termcap -u --nosubshell -U --subshell \ - -v --view -V --version -x --xterm -D --debuglevel -h \ - --help' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '--stickchars --nocolor --color --colors \ + --nomouse --edit --datadir --resetsoft --ftplog --printwd --slow \ + --termcap --nosubshell --subshell --view --version --xterm \ + --debuglevel --help' -- "$cur" ) ) else _filedir -d fi |