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:
parent
d83dab1937
commit
e58e1df283
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user