1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 22:32:12 +02:00

Nikolai Weibull: 24075: completion of values for --preserve and --no-preserve.

This commit is contained in:
Clint Adams 2007-11-18 20:35:27 +00:00
parent 2c16b5ccbd
commit 5069567a74
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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]' \