mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
54208: allow multiple --preserve flags to cp
This commit is contained in:
committed by
Oliver Kiddle
parent
b0ad7ab750
commit
b6c83b47e6
@@ -1,5 +1,8 @@
|
||||
2026-04-05 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* Ronan Pigott: 54208: Completion/Unix/Command/_cp:
|
||||
allow multiple --preserve flags
|
||||
|
||||
* Johannes Altmanninger: 54155: Src/Zle/termquery.c:
|
||||
specify $HOST in OSC7 working directory report
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ if _pick_variant gnu='(GNU|uutils)' unix --version; then
|
||||
'(-n --no-clobber -i --interactive)'{-n,--no-clobber}"[don't overwrite an existing file]" \
|
||||
'(-P --no-dereference)'{-P,--no-dereference}'[never follow symbolic links]' \
|
||||
'-p[same as --preserve=mode,ownership,timestamps]' \
|
||||
'--preserve=-[preserve specified attributes]:: :_values -s , attribute mode timestamps ownership links context xattr all' \
|
||||
"--no-preserve=[don't preserve specified attributes]: :_values -s , attribute mode timestamps ownership links context xattr all" \
|
||||
'*--preserve=-[preserve specified attributes]:: :_values -s , attribute mode timestamps ownership links context xattr all' \
|
||||
"*--no-preserve=[don't preserve specified attributes]: :_values -s , attribute mode timestamps ownership links context xattr all" \
|
||||
'--parents[append source path to target directory]' \
|
||||
'(-R -r --recursive)'{-R,-r,--recursive}'[copy directories recursively]' \
|
||||
'--reflink=-[control clone/CoW copies]::when to perform a lightweight copy:(always auto)' \
|
||||
|
||||
Reference in New Issue
Block a user