summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmltk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mltk b/mltk
index ca736592..fadc10cc 100755
--- a/mltk
+++ b/mltk
@@ -183,6 +183,9 @@ read_params() {
if [[ "$1" != -* ]]; then
TARGET="$1"
shift
+ elif [[ "$1" == "-h" || "$1" == "--help" ]]; then
+ print_usage
+ exit 1
elif [[ "$1" != "-n" ]]; then
perror "A target is required. None given."
fi