aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/cp.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/cp.fish')
-rw-r--r--share/completions/cp.fish9
1 files changed, 5 insertions, 4 deletions
diff --git a/share/completions/cp.fish b/share/completions/cp.fish
index 0415bd86..61bcdee0 100644
--- a/share/completions/cp.fish
+++ b/share/completions/cp.fish
@@ -1,3 +1,4 @@
+
complete -c cp -s a -l archive --description "Same as -dpR"
complete -c cp -s b -l backup --description "Make backup of each existing destination file" -a "none off numbered t existing nil simple never"
complete -c cp -l copy-contents --description "Copy contents of special files when recursive"
@@ -16,12 +17,12 @@ complete -c cp -l version --description "Display version and exit"
complete -c cp -s L -l dereference --description "Always follow symbolic links"
complete -c cp -s P -l no-dereference --description "Never follow symbolic links"
complete -c cp -s p --description "Same as --preserve=mode,ownership,timestamps"
-complete -c cp -l preserve --description "Preserve the specified attributes and security contexts, if possible" -a "mode ownership timestamps links all"
-complete -c cp -l no-preserve -r --description "Don't preserve the specified attributes" -a "mode ownership timestamps links all"
+complete -c cp -f -l preserve --description "Preserve ATTRIBUTES if possible" -xa "mode ownership timestamps links all"
+complete -c cp -f -l no-preserve -r --description "Don't preserve ATTRIBUTES" -xa "mode ownership timestamps links all"
complete -c cp -l parents --description "Use full source file name under DIRECTORY"
complete -c cp -s r -s R -l recursive --description "Copy directories recursively"
-complete -c cp -l remove-destination --description "Remove each existing destination file before attempting to open it (contrast with --force)"
-complete -c cp -l sparse -r --description "Control creation of sparse files" -a "always auto never"
+complete -c cp -l remove-destination --description "First remove existing destination files"
+complete -c cp -f -l sparse -r --description "Control creation of sparse files" -xa "always auto never"
complete -c cp -s s -l symbolic-link --description "Make symbolic links instead of copying"
complete -c cp -s T -l no-target-directory --description "Treat DEST as a normal file"
complete -c cp -s x -l one-file-system --description "Stay on this file system"