Skip to content

Commit

Permalink
Merge branch 'feature-bash-completion' into completion
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Nov 22, 2014
2 parents b8026dd + e0b1f1b commit e3b357f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion converters/shell-completion/bash/img2sixel
Expand Up @@ -91,16 +91,29 @@ _img2sixel()
rgb' -- "$cur" ) )
return 0
;;
-b|--builtin-palette)
COMPREPLY=( $( compgen -W 'xterm16 \
xterm256' -- "$cur" ) )
return 0
;;
-E|--encode-policy)
COMPREPLY=( $( compgen -W 'auto \
fast \
size' -- "$cur" ) )
return 0
;;
esac

case "$cur" in
-*)
COMPREPLY=( $( compgen -W '-7 --7bit-mode \
COMPREPLY=( $( compgen -W '
-7 --7bit-mode \
-8 --8bit-mode \
-p --colors \
-m --mapfile \
-e --monochrome \
-i --invert \
-I --high-color \
-u --use-macro \
-n --macro-number \
-C --complexion-score \
Expand All @@ -116,7 +129,10 @@ _img2sixel()
-q --quality \
-l --loop-control \
-t --palette-type \
-b --builtin-palette \
-E --encode-policy \
-P --penetrate \
-D --pipe-mode \
-v --verbose \
-V --version \
-H --help \
Expand Down

0 comments on commit e3b357f

Please sign in to comment.