mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
cp completions: reflink's arguments are optional
When no arguments are unspecified, `--reflink` is equivalent to `--reflink=always`.
This commit is contained in:
parent
e0a4d49ef3
commit
f6e3f4db34
|
@ -23,7 +23,7 @@ if cp --version 2>/dev/null >/dev/null # GNU cp
|
||||||
complete -c cp -f -l no-preserve -r -d "Don't preserve ATTRIBUTES" -xa "mode ownership timestamps links all"
|
complete -c cp -f -l no-preserve -r -d "Don't preserve ATTRIBUTES" -xa "mode ownership timestamps links all"
|
||||||
complete -c cp -l parents -d "Use full source file name under DIRECTORY"
|
complete -c cp -l parents -d "Use full source file name under DIRECTORY"
|
||||||
complete -c cp -s r -s R -l recursive -d "Copy directories recursively"
|
complete -c cp -s r -s R -l recursive -d "Copy directories recursively"
|
||||||
complete -c cp -l reflink -d "Control clone/CoW copies" -xa "always auto never"
|
complete -c cp -l reflink -d "Control clone/CoW copies" -a "always auto never"
|
||||||
complete -c cp -l remove-destination -d "First remove existing destination files"
|
complete -c cp -l remove-destination -d "First remove existing destination files"
|
||||||
complete -c cp -f -l sparse -r -d "Control creation of sparse files" -xa "always auto never"
|
complete -c cp -f -l sparse -r -d "Control creation of sparse files" -xa "always auto never"
|
||||||
complete -c cp -s s -l symbolic-link -d "Make symbolic links instead of copying"
|
complete -c cp -s s -l symbolic-link -d "Make symbolic links instead of copying"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user