Eliminate redundant code.

This commit is contained in:
Ville Skyttä 2009-06-18 20:41:15 +03:00
parent 8b2416c180
commit d9cce38567

View File

@ -22,11 +22,7 @@ _mplayer()
prev=${COMP_WORDS[COMP_CWORD-1]}
case "$prev" in
-@(ac|afm|vc|vfm|ao|vo|vop|fstype|demuxer|vf|af))
_mplayer_options_list $cmd $prev
return 0
;;
-@(oac|ovc|of))
-@([av][cfo]|[av]fm|vop|fstype|demuxer|o[av]c|of|profile))
_mplayer_options_list $cmd $prev
return 0
;;
@ -250,10 +246,6 @@ _mplayer()
COMPREPLY=( $( compgen -W 'force= list=' -- $cur ) )
return 0
;;
-profile)
_mplayer_options_list $cmd $prev
return 0
;;
esac
case "$cur" in