Add --image_size as an alias to --size

This commit is contained in:
Dylan Araps 2016-10-03 18:13:16 +11:00
parent b33cf57c16
commit 8a1eb28987

View file

@ -3042,7 +3042,7 @@ getargs() {
case "$2" in "--"* | "") image="ascii" ;; esac case "$2" in "--"* | "") image="ascii" ;; esac
;; ;;
--size) image_size="$2" ;; --image_size | --size) image_size="$2" ;;
--crop_mode) crop_mode="$2" ;; --crop_mode) crop_mode="$2" ;;
--crop_offset) crop_offset="$2" ;; --crop_offset) crop_offset="$2" ;;
--xoffset) xoffset="$2" ;; --xoffset) xoffset="$2" ;;