mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 16:19:13 +08:00
17 lines
709 B
Fish
17 lines
709 B
Fish
function __copy_generate_args --description 'Function to generate args'
|
|
if not __fish_seen_argument --windows 'a' --windows 'b'
|
|
echo -e '/a\tIndicate an ASCII text file
|
|
/b\tIndicate a binary 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
|
|
|
|
complete --command copy --no-files --arguments '(__copy_generate_args)'
|