commit 3646d14d1fda26a73df51850e20264868f1987e9 parent ec7094711846696aeef7d499509c2761404d0048 Author: Andreas Guldstrand <andreas.guldstrand@gmail.com> Date: Wed, 24 Feb 2016 00:08:30 +0100 update_versions.sh: Add -? and -h flags for usage info Diffstat:
| M | tools/update_versions.sh | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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