mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2024-11-22 16:59:03 +01:00
Update alexa_remote_control.sh
This commit is contained in:
parent
9f54660b76
commit
2df1f74adc
@ -252,8 +252,8 @@ while [ "$#" -gt 0 ] ; do
|
||||
fi
|
||||
;;
|
||||
-m)
|
||||
if [ "${2#-}" != "${2}" -o -z "$2" ] ; then
|
||||
echo "ERROR: missing argument for ${1}"
|
||||
if [ "${2#-}" != "${2}" -o -z "$2" -o "$(echo "${2}" | tr [:upper:] [:lower:])" = "all" ] ; then
|
||||
echo "ERROR: missing or invalid argument for ${1}"
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user