mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Hide /-y, /y when needed for copy command
This commit is contained in:
parent
61a77ef9fc
commit
c3f928b2fa
1 changed files with 5 additions and 2 deletions
|
@ -4,11 +4,14 @@ function __copy_generate_args --description 'Function to generate args'
|
|||
/b\tIndicate a binary file'
|
||||
end
|
||||
|
||||
if not __fish_seen_argument --windows 'y' --windows '-y'
|
||||
echo -e '/y=\tHide prompts to confirm that you want to overwrite an existing destination file
|
||||
/-y\tShow prompts to confirm that you want to overwrite an existing destination file'
|
||||
end
|
||||
|
||||
echo -e '/d\tAllow the encrypted files being copied to be saved as decrypted files at the destination
|
||||
/v\tVerify that new files are written correctly
|
||||
/n\tUse a short file name, if available
|
||||
/y=\tHide prompts to confirm that you want to overwrite an existing destination file
|
||||
/-y\tShow prompts to confirm that you want to overwrite an existing destination file
|
||||
/z\tCopy networked files in restartable mode
|
||||
/?\tShow help'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue