summaryrefslogtreecommitdiff
path: root/completions/oggdec
diff options
context:
space:
mode:
Diffstat (limited to 'completions/oggdec')
-rw-r--r--completions/oggdec14
1 files changed, 7 insertions, 7 deletions
diff --git a/completions/oggdec b/completions/oggdec
index 0493087d..9bdf5019 100644
--- a/completions/oggdec
+++ b/completions/oggdec
@@ -6,18 +6,18 @@ _oggdec()
_init_completion -s || return
case $prev in
- --help|-h|--version|-V)
+ --help|--version|-!(-*)[hV]*)
return
;;
- --bits|-b)
- COMPREPLY=( $( compgen -W "8 16" -- "$cur" ) )
+ --bits|-!(-*)b)
+ COMPREPLY=( $(compgen -W "8 16" -- "$cur") )
return
;;
- --endianness|-e|--sign|-s)
- COMPREPLY=( $( compgen -W "0 1" -- "$cur" ) )
+ --endianness|--sign|-!(-*)[es])
+ COMPREPLY=( $(compgen -W "0 1" -- "$cur") )
return
;;
- --output|-o)
+ --output|-!(-*)o)
_filedir wav
return
;;
@@ -26,7 +26,7 @@ _oggdec()
$split && return
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi