mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2026-09-13 13:28:21 +02:00
Merge pull request #125 from Korki67/master
avoid using "ALL" in option -m as name of group
This commit is contained in:
@@ -270,8 +270,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
|
||||
|
||||
Reference in New Issue
Block a user