summaryrefslogtreecommitdiff
path: root/completions/unpack200
diff options
context:
space:
mode:
Diffstat (limited to 'completions/unpack200')
-rw-r--r--completions/unpack20016
1 files changed, 8 insertions, 8 deletions
diff --git a/completions/unpack200 b/completions/unpack200
index 1c97ecbe..393df04d 100644
--- a/completions/unpack200
+++ b/completions/unpack200
@@ -6,15 +6,15 @@ _unpack200()
_init_completion -s || return
case $prev in
- '-?'|-h|--help|-V|--version|-J)
+ --help|--version|-!(-*)[?hVJ])
return
;;
- -H|--deflate-hint)
- COMPREPLY=( $( compgen -W 'true false keep' -- "$cur" ) )
+ --deflate-hint|-!(-*)H)
+ COMPREPLY=( $(compgen -W 'true false keep' -- "$cur") )
return
;;
- -l|--log-file)
- COMPREPLY=( $( compgen -W '-' -- "$cur" ) )
+ --log-file|-!(-*)l)
+ COMPREPLY=( $(compgen -W '-' -- "$cur") )
_filedir log
return
;;
@@ -32,9 +32,9 @@ _unpack200()
done
if ! $pack ; then
- if [[ "$cur" == -* ]] ; then
- COMPREPLY=( $( compgen -W '--deflate-hint= --remove-pack-file
- --verbose --quiet --log-file= --help --version' -- "$cur" ) )
+ if [[ "$cur" == -* ]]; then
+ COMPREPLY=( $(compgen -W '--deflate-hint= --remove-pack-file
+ --verbose --quiet --log-file= --help --version' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
else
_filedir 'pack?(.gz)'