Merge pull request #60 from Oj18/patch-1

Fixed termux-toast to allow -s (short) anywhere
This commit is contained in:
Fredrik Fornwall 2019-05-30 00:42:16 +02:00 committed by GitHub
commit a6e432b160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ while getopts :hsc:b:g: option
do do
case "$option" in case "$option" in
h) show_usage;; h) show_usage;;
s) PARAMS=" --ez short true";; s) PARAMS+=" --ez short true";;
c) PARAMS+=" --es text_color $OPTARG";; c) PARAMS+=" --es text_color $OPTARG";;
b) PARAMS+=" --es background $OPTARG";; b) PARAMS+=" --es background $OPTARG";;
g) PARAMS+=" --es gravity $OPTARG";; g) PARAMS+=" --es gravity $OPTARG";;