diff --git a/command b/command index fbef7944d99..7d3c2f32bd3 100755 --- a/command +++ b/command @@ -28,6 +28,13 @@ import sys import datetime import traceback +if len(sys.argv) == 1: + print json.dumps({ + "failed" : True, + "msg" : "at least a command name is required" + }) + sys.exit(1) + args = sys.argv[1:] startd = datetime.datetime.now()