2019-11-29 06:18:33 +08:00
|
|
|
# Completions for pzstd
|
|
|
|
|
2020-03-10 02:36:12 +08:00
|
|
|
complete -c pzstd -s d -l decompress -d Decompress -x -a "
|
2019-11-29 06:18:33 +08:00
|
|
|
(
|
|
|
|
__fish_complete_suffix .zst
|
|
|
|
)
|
|
|
|
"
|
|
|
|
|
|
|
|
complete -c pzstd -s t -l test -d "Test the integrity"
|
|
|
|
|
|
|
|
for level in (seq 1 19)
|
|
|
|
complete -c pzstd -o $level -d "Set compression level"
|
|
|
|
end
|
|
|
|
|
|
|
|
complete -c pzstd -l ultra -d "Enable compression level beyond 19"
|
|
|
|
|
2019-12-11 03:20:21 +08:00
|
|
|
complete -x -c pzstd -s p -l processes -a "(seq 1 8)" -d "De/compress using NUM working threads"
|
2019-11-29 06:18:33 +08:00
|
|
|
|
|
|
|
complete -r -c pzstd -s o -d "Specify file to save"
|
|
|
|
complete -c pzstd -s f -l force -d "Overwrite without prompting"
|
|
|
|
complete -c pzstd -s c -l stdout -d "Force write to stdout"
|
|
|
|
complete -c pzstd -l rm -d "Remove input file(s) after de/compression"
|
|
|
|
complete -c pzstd -s k -l keep -d "Keep input file(s) (default)"
|
|
|
|
complete -c pzstd -s r -d "Recurse directories"
|
|
|
|
complete -c pzstd -s h -l help -d "Show help"
|
|
|
|
complete -c pzstd -s H -d "Show long help"
|
|
|
|
complete -c pzstd -s V -l version -d "Show version"
|
|
|
|
complete -c pzstd -s v -l verbose -d "Be verbose"
|
|
|
|
complete -c pzstd -s q -l quiet -d "Suppress warnings"
|
|
|
|
complete -c pzstd -l no-check -d "Disable integrity check"
|