about summary refs log tree commit diff
path: root/Completion/Unix/Command/_cp
diff options
context:
space:
mode:
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]' \