about summary refs log tree commit diff
path: root/Completion/Unix/Command/_cpio
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-01-16 16:29:51 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-01-16 16:29:51 +0000
commitd7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87 (patch)
tree1f21ac9faf956d67f24e2005b82a42264a27f535 /Completion/Unix/Command/_cpio
parent8476aa7fc2faea453c3e07dae2e58535fa2a7086 (diff)
downloadzsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.gz
zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.xz
zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.zip
16461: a number of minor completion function updates
Diffstat (limited to 'Completion/Unix/Command/_cpio')
-rw-r--r--Completion/Unix/Command/_cpio4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_cpio b/Completion/Unix/Command/_cpio
index 4cccbe609..61c4d76ac 100644
--- a/Completion/Unix/Command/_cpio
+++ b/Completion/Unix/Command/_cpio
@@ -2,7 +2,7 @@
 
 (( $+_is_gnu )) || typeset -gA _is_gnu
 
-local cmd=$service args ig context curcontext="$curcontext" state line opt_args
+local cmd=$service args ig curcontext="$curcontext" state line
 local expl ret
 local fmts='(bar bin odc newc crc tar ustar hpbin hpodc)'
 
@@ -114,7 +114,7 @@ else
 fi 
 
 ret=1
-_arguments -s "$args[@]" && ret=0
+_arguments -C -s "$args[@]" && ret=0
 
 if [[ $state = afile ]]; then
   if compset -P '*:'; then