about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Cook <llua@gmx.com>2014-12-03 16:51:00 +0100
committerMikael Magnusson <mikachu@gmail.com>2014-12-03 16:56:23 +0100
commit67c39b09c83b0e6a400d695566763c09a3c94cbb (patch)
treef9e636eeffe22364d4c651206a8530eea02aa389
parentaf6256f8af33c37aadd8ff6d27fb39411743bac0 (diff)
downloadzsh-67c39b09c83b0e6a400d695566763c09a3c94cbb.tar.gz
zsh-67c39b09c83b0e6a400d695566763c09a3c94cbb.tar.xz
zsh-67c39b09c83b0e6a400d695566763c09a3c94cbb.zip
33689: make cp --reflink's argument optional
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c62d20290..fad5d820d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-03  Mikael Magnusson  <mikachu@gmail.com>
+
+	* Eric Cook: 33689: Completion/Unix/Command/_cp: make cp
+	--reflink's argument optional
+
 2014-12-01  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* Jun T: 33830 plus CVS removal: Doc/Zsh/metafaq.yo: typo in
diff --git a/Completion/Unix/Command/_cp b/Completion/Unix/Command/_cp
index 5013f852c..70ab0858e 100644
--- a/Completion/Unix/Command/_cp
+++ b/Completion/Unix/Command/_cp
@@ -19,7 +19,7 @@ if _pick_variant gnu=GNU unix --version; then
     '--no-preserve=[don'\''t preserve specified attributes]:attributes not to preserve:_values -s , 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)' \
+    '--reflink=-[control clone/CoW copies]::when to perform a lightweight copy:(always auto)' \
     '--remove-destination[remove each existing destination file before attempting to open it]' \
     '--sparse=[control creation of sparse files]:when to create sparse files:(auto always never)' \
     '--strip-trailing-slashes[remove any trailing slashes from each source argument]' \