mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
aa65856ee0
Before: * hand write arg parse * only accepts one suffix After: * use `arg_parse` to parse args * accepts multi suffixes Closes #9611.
9 lines
486 B
Fish
9 lines
486 B
Fish
complete -c bunzip2 -k -x -a "(__fish_complete_suffix .tbz .tbz2 .bz2 .bz)"
|
|
|
|
complete -c bunzip2 -s c -l stdout -d "Decompress to stdout"
|
|
complete -c bunzip2 -s f -l force -d Overwrite
|
|
complete -c bunzip2 -s k -l keep -d "Do not overwrite"
|
|
complete -c bunzip2 -s s -l small -d "Reduce memory usage"
|
|
complete -c bunzip2 -s v -l verbose -d "Print compression ratios"
|
|
complete -c bunzip2 -s L -l license -d "Print license"
|
|
complete -c bunzip2 -s V -l version -d "Display version and exit"
|