handle a call with no arguments
[gregoa/movein.git] / movein
diff --git a/movein b/movein
index bf75c6f..9d7e03e 100755 (executable)
--- a/movein
+++ b/movein
@@ -226,6 +226,10 @@ END
 
 }
 
+if [ $# -lt 1 ]; then
+    usage
+    exit 1
+fi
 
 command=$1 ; shift
 case "$command" in