summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
authorJonathan Bauer2013-02-05 16:51:08 +0100
committerJonathan Bauer2013-02-05 16:51:08 +0100
commitda1d7c15669ad4f6a12eb1a0170dc295da619611 (patch)
treee5b01f092dc6e6a0efea909d4f20dcce61384337 /mltk
parentgerman keymap (diff)
downloadtm-scripts-da1d7c15669ad4f6a12eb1a0170dc295da619611.tar.gz
tm-scripts-da1d7c15669ad4f6a12eb1a0170dc295da619611.tar.xz
tm-scripts-da1d7c15669ad4f6a12eb1a0170dc295da619611.zip
improved usage info
Diffstat (limited to 'mltk')
-rwxr-xr-xmltk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mltk b/mltk
index 0e244752..2329e707 100755
--- a/mltk
+++ b/mltk
@@ -100,10 +100,13 @@ read_params() {
shift
;;
*)
- break
+ break
;;
esac
done
+
+ # exit if no command
+ [ "x$BUILD" = "x" -a "x$CLEAN" = "x" ] && print_usage && exit 1
TOOLS="$@"
}