mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-01 07:38:46 +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'
|
/b\tIndicate a binary file'
|
||||||
end
|
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
|
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
|
/v\tVerify that new files are written correctly
|
||||||
/n\tUse a short file name, if available
|
/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
|
/z\tCopy networked files in restartable mode
|
||||||
/?\tShow help'
|
/?\tShow help'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue