mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
Add completions for Zopfli
This commit is contained in:
parent
8029f15f1f
commit
4f60693037
|
@ -32,6 +32,7 @@
|
|||
- `dhclient`
|
||||
- `tcpdump`
|
||||
- `tig`
|
||||
- `zopfli`, and `zopflipng`
|
||||
|
||||
### Deprecations and removed features
|
||||
|
||||
|
|
8
share/completions/zopfli.fish
Normal file
8
share/completions/zopfli.fish
Normal file
|
@ -0,0 +1,8 @@
|
|||
complete -c zopfli -s h -d "Gives this help"
|
||||
complete -c zopfli -s c -d "Write the result on stdout"
|
||||
complete -c zopfli -s v -d "Verbose mode"
|
||||
complete -c zopfli -l i -d "Number of iterations"
|
||||
complete -c zopfli -l gzip -d "Output to gzip format (default)"
|
||||
complete -c zopfli -l zlib -d "Output to zlib format"
|
||||
complete -c zopfli -l deflate -d "Output to deflate format"
|
||||
complete -c zopfli -l splitlast -d "Left for backwards compatibility"
|
15
share/completions/zopflipng.fish
Normal file
15
share/completions/zopflipng.fish
Normal file
|
@ -0,0 +1,15 @@
|
|||
complete -x -c zopflipng -a "(__fish_complete_suffix .png)"
|
||||
|
||||
complete -c zopflipng -s m -d "Compress more"
|
||||
complete -c zopflipng -l prefix -d "Add prefix"
|
||||
complete -c zopflipng -s y -d "Do not ask about overwriting"
|
||||
complete -c zopflipng -l lossy_transparent -d "Remove colors behind alpha channel 0"
|
||||
complete -c zopflipng -l lossy_8bit -d "Convert PNG16 to PNG8"
|
||||
complete -c zopflipng -s d -d "Dry run"
|
||||
complete -c zopflipng -l always_zopflify -d "For benchmarking the algorithm"
|
||||
complete -c zopflipng -s q -d "Use quick"
|
||||
complete -c zopflipng -l iterations -d "Number of iterations"
|
||||
complete -c zopflipng -l splitting -d "Left for backwards compatibility"
|
||||
complete -x -c zopflipng -l filters -a "0 1 2 3 4 m e p b" -d "Filter strategies"
|
||||
complete -c zopflipng -l keepchunks -d "Keep metadata chunks"
|
||||
complete -c zopflipng -s h -l help -d "Show help"
|
Loading…
Reference in New Issue
Block a user