diff --git a/share/completions/copy.fish b/share/completions/copy.fish index 127f9b8e6..7e5fcc3cd 100644 --- a/share/completions/copy.fish +++ b/share/completions/copy.fish @@ -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