aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-02-14 17:10:15 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-02-14 17:10:15 +0100
commit9e0954b407384cf399e530e58bee8ca26a70062a (patch)
tree0cee4b0413bb64f50bdfa027ba7b61cfa58c9be2
parenta1dac39653b1f40bd9e84041e4f5fb02648f434a (diff)
downloadsbotools-9e0954b407384cf399e530e58bee8ca26a70062a.tar.xz
tools/htmlgen.sh: add -h flag
-rwxr-xr-xtools/htmlgen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/htmlgen.sh b/tools/htmlgen.sh
index b623928..3953490 100755
--- a/tools/htmlgen.sh
+++ b/tools/htmlgen.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-if [[ "$1" == "" ]]; then
+if [ "$1" == "" -o "$1" == "-h" ]; then
echo "usage: $(basename $0) destdir"
exit 1
fi