From 3646d14d1fda26a73df51850e20264868f1987e9 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Wed, 24 Feb 2016 00:08:30 +0100 Subject: update_versions.sh: Add -? and -h flags for usage info --- tools/update_versions.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3