Rephrased messages and comments
This commit is contained in:
parent
5e265d96b8
commit
6977926da3
1 changed files with 2 additions and 2 deletions
4
c4wled
4
c4wled
|
@ -102,7 +102,7 @@ while test $# -gt 0; do
|
||||||
;;
|
;;
|
||||||
*) # Unknown instance parameter.
|
*) # Unknown instance parameter.
|
||||||
test -n "$host_list" && break
|
test -n "$host_list" && break
|
||||||
echo "Error: not a valid instance option (\"$1\")." >&2
|
echo "Error: not a valid instance selector (\"$1\")." >&2
|
||||||
print_usage
|
print_usage
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
@ -110,7 +110,7 @@ while test $# -gt 0; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
# Parse and execute command argument against given instances.
|
# Parse and execute command argument for selected instances.
|
||||||
for wled_host in $host_list; do
|
for wled_host in $host_list; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
on) # Switch on.
|
on) # Switch on.
|
||||||
|
|
Loading…
Reference in a new issue