summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
authorChristian Rößler2014-01-16 16:31:29 +0100
committerChristian Rößler2014-01-16 16:31:29 +0100
commitbac6b30ace401645f4e4457dd7166a6d3d960fa5 (patch)
tree6fb44c9580b37d81a46d250a38297b63fd665b6d /mltk
parent[xorg] xprintidle deleted from REQUIRED_CONTENT_PACKAGES (and in Debian also (diff)
downloadtm-scripts-bac6b30ace401645f4e4457dd7166a6d3d960fa5.tar.gz
tm-scripts-bac6b30ace401645f4e4457dd7166a6d3d960fa5.tar.xz
tm-scripts-bac6b30ace401645f4e4457dd7166a6d3d960fa5.zip
[mltk] added -h and --help - options
Diffstat (limited to 'mltk')
-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