about summary refs log tree commit diff
path: root/Completion/Unix/Command/_bzip2
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_bzip2')
-rw-r--r--Completion/Unix/Command/_bzip255
1 files changed, 23 insertions, 32 deletions
diff --git a/Completion/Unix/Command/_bzip2 b/Completion/Unix/Command/_bzip2
index 75f051a57..c175e5c90 100644
--- a/Completion/Unix/Command/_bzip2
+++ b/Completion/Unix/Command/_bzip2
@@ -7,38 +7,29 @@ case "$service" in
   bzip2recover) [[ $CURRENT = 2 ]] && state=files;;
   bzip2) decompress=no;&
   bunzip2) _arguments -C -s -S \
-    '(--help)-h[display help message]' \
-    '(-h)--help[display help message]' \
-    '(--decompress --compress -z --test -t)-d[decompress]' \
-    '(-d --compress -z --test -t)--decompress[decompress]' \
-    '(--compress --decompress -d --test -t)-z[compress]' \
-    '(-z --decompress -d --test -t)--compress[compress]' \
-    "(--keep)-k[keep (don't delete) input files]" \
-    "(-k)--keep[keep (don't delete) input files]" \
-    '(--force)-f[force overwrite]' \
-    '(-f)--force[force overwrite]' \
-    '(--test --decompress -d --compress -z )-t[test compressed file integrity]' \
-    '(-t --decompress -d --compress -z )--test[test compressed file integrity]' \
-    '(--stdout)-c[write on standard output]' \
-    '(-c)--stdout[write on standard output]' \
-    '(--quiet)-q[suppress all warnings]' \
-    '(-q)--quiet[suppress all warnings]' \
-    '*-v[verbose mode]' \
-    '*--verbose[verbose mode]' \
-    '(--license)-L[display software license]' \
-    '(-L)--license[display software license]' \
-    '(--version)-V[display version number]' \
-    '(-V)--version[display version number]' \
-    '(--small)-s[use less memory (at most 2500k)]' \
-    '(   -2 -3 -4 -5 -6 -7 -8 -9)-1' \
-    '(-1    -3 -4 -5 -6 -7 -8 -9)-2' \
-    '(-1 -2    -4 -5 -6 -7 -8 -9)-3' \
-    '(-1 -2 -3    -5 -6 -7 -8 -9)-4' \
-    '(-1 -2 -3 -4    -6 -7 -8 -9)-5' \
-    '(-1 -2 -3 -4 -5	-7 -8 -9)-6' \
-    '(-1 -2 -3 -4 -5 -6    -8 -9)-7' \
-    '(-1 -2 -3 -4 -5 -6 -7    -9)-8' \
-    '(-1 -2 -3 -4 -5 -6 -7 -8	)-9' \
+    '(- *)'{-h,--help}'[display help message]' \
+    '(-d --decompress --compress -z --test -t)'{-d,--decompress}'[decompress]' \
+    '(-z --compress --decompress -d --test -t)'{-z,--compress}'[compress]' \
+    '(-k --keep)'{-k,--keep}"[keep (don't delete) input files]" \
+    '(-f --force)'{-f,--force}'[force overwrite]' \
+    '(-t --test --decompress -d --compress -z)'{-t,--test}'[test compressed file integrity]' \
+    '(-c --stdout)'{-c,--stdout}'[write on standard output]' \
+    '(-q --quiet)'{-q,--quiet}'[suppress all warnings]' \
+    \*{-v,--verbose}'[verbose mode]' \
+    '(- *)'{-L,--license}'[display software license]' \
+    '(- *)'{-V,--version}'[display version number]' \
+    '(--small -s)'{-s,--small}'[reduce memory usage (at most 2500k)]' \
+    '(-1 -2 -3 -4 -5 -6 -7 -8 -9 --fast       )--best' \
+    '(-1 -2 -3 -4 -5 -6 -7 -8 -9        --best)--fast' \
+    '(   -2 -3 -4 -5 -6 -7 -8 -9 --fast --best)-1' \
+    '(-1    -3 -4 -5 -6 -7 -8 -9 --fast --best)-2' \
+    '(-1 -2    -4 -5 -6 -7 -8 -9 --fast --best)-3' \
+    '(-1 -2 -3    -5 -6 -7 -8 -9 --fast --best)-4' \
+    '(-1 -2 -3 -4    -6 -7 -8 -9 --fast --best)-5' \
+    '(-1 -2 -3 -4 -5	-7 -8 -9 --fast --best)-6' \
+    '(-1 -2 -3 -4 -5 -6    -8 -9 --fast --best)-7' \
+    '(-1 -2 -3 -4 -5 -6 -7    -9 --fast --best)-8' \
+    '(-1 -2 -3 -4 -5 -6 -7 -8	 --fast --best)-9' \
     '*:files:->files' && ret=0
   ;;
 esac