diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-02-24 00:08:30 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-02-24 00:08:30 +0100 |
commit | 3646d14d1fda26a73df51850e20264868f1987e9 (patch) | |
tree | 830088a00eec9d36f80ebc3bc7236f0a29ca2dbf | |
parent | ec7094711846696aeef7d499509c2761404d0048 (diff) | |
download | sbotools2-3646d14d1fda26a73df51850e20264868f1987e9.tar.xz |
update_versions.sh: Add -? and -h flags for usage info
-rwxr-xr-x | tools/update_versions.sh | 8 |
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 |