aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-02-24 00:08:30 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-02-24 00:08:30 +0100
commit3646d14d1fda26a73df51850e20264868f1987e9 (patch)
tree830088a00eec9d36f80ebc3bc7236f0a29ca2dbf
parentec7094711846696aeef7d499509c2761404d0048 (diff)
downloadsbotools2-3646d14d1fda26a73df51850e20264868f1987e9.tar.xz
update_versions.sh: Add -? and -h flags for usage info
-rwxr-xr-xtools/update_versions.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/update_versions.sh b/tools/update_versions.sh
index 9c974f6..b17bba6 100755
--- a/tools/update_versions.sh
+++ b/tools/update_versions.sh
@@ -9,6 +9,14 @@ if [[ "$1" == "" ]]; then
usage_exit
fi
+if [[ "$1" == "-?" ]]; then
+ usage_exit
+fi
+
+if [[ "$1" == "-h" ]]; then
+ usage_exit
+fi
+
if [[ "$1" == "-g" ]]; then
git=true
shift