Merge pull request #82 from adn77/master

Added --version
This commit is contained in:
Alex
2020-01-20 20:29:05 +01:00
committed by GitHub
2개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -188,13 +188,17 @@ usage()
echo " -a : list available devices"
echo " -m : delete multiroom and/or create new multiroom containing devices"
echo " -lastalexa : print device that received the last voice command"
echo " -z : print current volume level"
echo " -z : print current volume level"
echo " -l : logoff"
echo " -h : help"
}
while [ "$#" -gt 0 ] ; do
case "$1" in
--version)
echo "v0.15b"
exit 0
;;
-d)
if [ "${2#-}" != "${2}" -o -z "$2" ] ; then
echo "ERROR: missing argument for ${1}"

파일 보기

@@ -139,6 +139,10 @@ usage()
while [ "$#" -gt 0 ] ; do
case "$1" in
--version)
echo "v0.15b"
exit 0
;;
-d)
if [ "${2#-}" != "${2}" -o -z "$2" ] ; then
echo "ERROR: missing argument for ${1}"