diff options
author | Jonathan Bauer | 2014-01-16 16:45:59 +0100 |
---|---|---|
committer | Jonathan Bauer | 2014-01-16 16:45:59 +0100 |
commit | 802fb95bcf9d399a40df4452672c5d9e3b862c96 (patch) | |
tree | fe45b0cc61adc4b22a331b3a07c53d187f06ee8c /mltk | |
parent | updated to the new year! (diff) | |
parent | [mltk] added -h and --help - options (diff) | |
download | tm-scripts-802fb95bcf9d399a40df4452672c5d9e3b862c96.tar.gz tm-scripts-802fb95bcf9d399a40df4452672c5d9e3b862c96.tar.xz tm-scripts-802fb95bcf9d399a40df4452672c5d9e3b862c96.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'mltk')
-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 |