]> spindle.queued.net Git - xodist/blobdiff - mkext3.sh
add --help/-h support to all scripts
[xodist] / mkext3.sh
index 37cec9949073629476083c3f6ccc41f55a3648c0..2960e275335110ad2d9ed51892918e2e128483b3 100755 (executable)
--- a/mkext3.sh
+++ b/mkext3.sh
@@ -214,6 +214,7 @@ usage()
        echo "" 1>&2
        echo "Options:" 1>&2
        echo "  --config-type <config>    directory name in configs/ to use" 1>&2
+       echo "  --help                    display this help screen" 1>&2
        echo "" 1>&2
        exit 1
 }
@@ -229,6 +230,9 @@ do
                }
                shift
                ;;
+       --help|-h)
+               usage
+               ;;
        *)
                ROOT_DIR="$1"
                shift