Add -h option
This commit is contained in:
parent
3b75c9ac12
commit
05fbe26959
@ -18,6 +18,12 @@ elif [[ $1 == "-r" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
elif [[ $1 == "-h" ]]; then
|
||||||
|
echo "iottadd.sh < -l | -r > < id > < pass >
|
||||||
|
|
||||||
|
-l for usage on local machine
|
||||||
|
-r for usage on server (remote)"
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e $RED"Expected \"-l\" or \"-r\""$RESET
|
echo -e $RED"Expected \"-l\" or \"-r\""$RESET
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user