From 05fbe2695981bbbc7d0fd63ccf2b767d2e2da8e6 Mon Sep 17 00:00:00 2001 From: David Houdek Date: Mon, 9 Oct 2023 22:26:19 +0200 Subject: [PATCH] Add -h option --- iottadd.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iottadd.sh b/iottadd.sh index e8933f2..917810f 100755 --- a/iottadd.sh +++ b/iottadd.sh @@ -18,6 +18,12 @@ elif [[ $1 == "-r" ]]; then 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 echo -e $RED"Expected \"-l\" or \"-r\""$RESET