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
1 changed files with 1 additions and 1 deletions

View File

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