mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 -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 -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 -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"
|
||||
|
|
Loading…
Reference in a new issue