2006-01-08 10:56:56 +08:00
|
|
|
complete -c bzip2 -s c -l stdout -d (_ "Compress to stdout")
|
2005-09-20 21:31:55 +08:00
|
|
|
complete -c bzip2 -s d -l decompress -x -a "(
|
|
|
|
__fish_complete_suffix (commandline -ct) .bz 'Compressed file'
|
|
|
|
__fish_complete_suffix (commandline -ct) .bz2 'Compressed file'
|
|
|
|
__fish_complete_suffix (commandline -ct) .tbz 'Compressed archive'
|
|
|
|
__fish_complete_suffix (commandline -ct) .tbz2 'Compressed archive'
|
|
|
|
)
|
|
|
|
"
|
2006-01-08 10:56:56 +08:00
|
|
|
complete -c bzip2 -s z -l compress -d (_ "Compress file")
|
|
|
|
complete -c bzip2 -s t -l test -d (_ "Check integrity")
|
|
|
|
complete -c bzip2 -s f -l force -d (_ "Overwrite")
|
|
|
|
complete -c bzip2 -s k -l keep -d (_ "Do not overwrite")
|
|
|
|
complete -c bzip2 -s s -l small -d (_ "Reduce memory usage")
|
|
|
|
complete -c bzip2 -s q -l quiet -d (_ "Supress errors")
|
|
|
|
complete -c bzip2 -s v -l verbose -d (_ "Print compression ratios")
|
|
|
|
complete -c bzip2 -s L -l license -d (_ "Print license")
|
|
|
|
complete -c bzip2 -s V -l version -d (_ "Display version and exit")
|
|
|
|
complete -c bzip2 -s 1 -l fast -d (_ "Small block size")
|
|
|
|
complete -c bzip2 -s 9 -l best -d (_ "Large block size")
|