about summary refs log tree commit diff
path: root/Completion/Unix/Command/_cp
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-11-18 20:35:27 +0000
committerClint Adams <clint@users.sourceforge.net>2007-11-18 20:35:27 +0000
commit5069567a74071d21fda11bbd3f2843f46b375bb7 (patch)
tree1ff1dc15171ef65bb9a2405f0b5b1dad9c70cb56 /Completion/Unix/Command/_cp
parent2c16b5ccbda3bad481f0454466ce2df2fed0bdd1 (diff)
downloadzsh-5069567a74071d21fda11bbd3f2843f46b375bb7.tar.gz
zsh-5069567a74071d21fda11bbd3f2843f46b375bb7.tar.xz
zsh-5069567a74071d21fda11bbd3f2843f46b375bb7.zip
Nikolai Weibull: 24075: completion of values for --preserve and --no-preserve.
Diffstat (limited to 'Completion/Unix/Command/_cp')
-rw-r--r--Completion/Unix/Command/_cp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_cp b/Completion/Unix/Command/_cp
index 8305c57a5..9838b1702 100644
--- a/Completion/Unix/Command/_cp
+++ b/Completion/Unix/Command/_cp
@@ -12,8 +12,8 @@ _arguments -s \
   '(-l --link)'{-l,--link}'[link files instead of copying]' \
   '(-L --dereference)'{-L,--dereference}'[always follow symbolic links]' \
   '-p[same as --preserve=mode,ownership,timestamps]' \
-  '--preserve=:attributes to preserve:_values -s , mode ownership timestamps links all' \
-  '--no-preserve=:attributes not to preserve:_values -s , mode ownership timestamps links all' \
+  '--preserve=:attributes to preserve:_values -s , attribute mode ownership timestamps links all' \
+  '--no-preserve=:attributes not to preserve:_values -s , attribute mode ownership timestamps links all' \
   '--parents[append source path to target directory]' \
   '-P[same as --no-dereference]' \
   '(-R -r --recursive)'{-R,-r,--recursive}'[copy directories recursively]' \