Image: Fix issue where '--image ascii' didn't work

This commit is contained in:
Dylan Araps 2016-12-03 17:19:01 +11:00
parent 4b4426f3ff
commit 19a6357ce9

View file

@ -3169,7 +3169,7 @@ get_args() {
# Image # Image
"--image") "--image")
image_source="$2" image_source="$2"
case "$2" in "-"* | "") image_backend="ascii" ;; esac case "$2" in "-"* | "" | "ascii") image_backend="ascii" ;; esac
;; ;;
"--image_size" | "--size") image_size="$2" ;; "--image_size" | "--size") image_size="$2" ;;