diff options
author | Christian Rößler | 2014-01-16 16:31:29 +0100 |
---|---|---|
committer | Christian Rößler | 2014-01-16 16:31:29 +0100 |
commit | bac6b30ace401645f4e4457dd7166a6d3d960fa5 (patch) | |
tree | 6fb44c9580b37d81a46d250a38297b63fd665b6d | |
parent | [xorg] xprintidle deleted from REQUIRED_CONTENT_PACKAGES (and in Debian also (diff) | |
download | tm-scripts-bac6b30ace401645f4e4457dd7166a6d3d960fa5.tar.gz tm-scripts-bac6b30ace401645f4e4457dd7166a6d3d960fa5.tar.xz tm-scripts-bac6b30ace401645f4e4457dd7166a6d3d960fa5.zip |
[mltk] added -h and --help - options
-rwxr-xr-x | mltk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |