1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Added -h, --help

This commit is contained in:
billz 2019-11-11 19:24:01 +00:00
parent d83dab1937
commit e58e1df283

View File

@ -42,6 +42,10 @@ while :; do
-b|--branch) -b|--branch)
branch="$2" branch="$2"
;; ;;
-h|--help)
printf "$usage"
exit 1
;;
-*|--*) -*|--*)
echo "Unknown option: $1" echo "Unknown option: $1"
printf "$usage" printf "$usage"