summaryrefslogtreecommitdiff
path: root/contrib/mc
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2009-10-18 22:12:37 +0300
committerVille Skyttä <ville.skytta@iki.fi>2009-10-18 22:12:37 +0300
commit2c83f0ff43c9f908e686889de4c9354d561f4e26 (patch)
treee54a4791248f0cfa5e39a612ce3d33940eed937c /contrib/mc
parentc11af089d658ad99b60314e09a68bdecac819d56 (diff)
downloadbash-completion-2c83f0ff43c9f908e686889de4c9354d561f4e26.tar.gz
Remove many unnecessary short option completions where long ones exist.
Diffstat (limited to 'contrib/mc')
-rw-r--r--contrib/mc10
1 files changed, 4 insertions, 6 deletions
diff --git a/contrib/mc b/contrib/mc
index c834e05e..a8548886 100644
--- a/contrib/mc
+++ b/contrib/mc
@@ -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