mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2025-04-03 01:03:15 +02:00
commit
9c33b54465
@ -195,6 +195,10 @@ usage()
|
|||||||
|
|
||||||
while [ "$#" -gt 0 ] ; do
|
while [ "$#" -gt 0 ] ; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
--version)
|
||||||
|
echo "v0.15b"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
-d)
|
-d)
|
||||||
if [ "${2#-}" != "${2}" -o -z "$2" ] ; then
|
if [ "${2#-}" != "${2}" -o -z "$2" ] ; then
|
||||||
echo "ERROR: missing argument for ${1}"
|
echo "ERROR: missing argument for ${1}"
|
||||||
|
@ -139,6 +139,10 @@ usage()
|
|||||||
|
|
||||||
while [ "$#" -gt 0 ] ; do
|
while [ "$#" -gt 0 ] ; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
--version)
|
||||||
|
echo "v0.15b"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
-d)
|
-d)
|
||||||
if [ "${2#-}" != "${2}" -o -z "$2" ] ; then
|
if [ "${2#-}" != "${2}" -o -z "$2" ] ; then
|
||||||
echo "ERROR: missing argument for ${1}"
|
echo "ERROR: missing argument for ${1}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user