Fix: displayOnly doesn't work

This commit is contained in:
anseki 2015-04-22 21:24:12 +09:00
parent 0c9c258946
commit 3dd7c71743

View file

@ -16,7 +16,7 @@ while [ $# -ge 1 ]; do
arg="$(printf '%s' "$1" | grep -E '^-+[^-]+$' | tr '[A-Z]' '[a-z]' | tr -d '-')" arg="$(printf '%s' "$1" | grep -E '^-+[^-]+$' | tr '[A-Z]' '[a-z]' | tr -d '-')"
case "$arg" in case "$arg" in
'display') shift; options_display="$(decode_arg "$1")";; 'display') shift; options_display="$(decode_arg "$1")";;
'displayOnly') options_displayOnly=true;; 'displayonly') options_displayOnly=true;;
'keyin') options_keyIn=true;; 'keyin') options_keyIn=true;;
'hideechoback') options_hideEchoBack=true;; 'hideechoback') options_hideEchoBack=true;;
'mask') shift; options_mask="$(decode_arg "$1")";; 'mask') shift; options_mask="$(decode_arg "$1")";;