summaryrefslogtreecommitdiff
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
parent2c16b5ccbda3bad481f0454466ce2df2fed0bdd1 (diff)
downloadzsh-5069567a74071d21fda11bbd3f2843f46b375bb7.tar.gz
zsh-5069567a74071d21fda11bbd3f2843f46b375bb7.zip
Nikolai Weibull: 24075: completion of values for --preserve and --no-preserve.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d85b23ae9..a521a3ca1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-18 Clint Adams <clint@zsh.org>
+
+ * Nikolai Weibull: 24075: Completion/Unix/Command/_cp: fix
+ completion of values for --preserve and --no-preserve.
+
2007-11-12 Peter Stephenson <pws@csr.com>
* 24093: Doc/Zsh/arith.yo: be more accurate about supported
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]' \