Commit c8b1bbc7 by Michael DeHaan

make command module error when no -a more obvious as command is the default module and someone

may forget about -a.  The CLI already warns about no host pattern by pulling up usage.
parent 146cb3ff
......@@ -31,7 +31,7 @@ import traceback
if len(sys.argv) == 1:
print json.dumps({
"failed" : True,
"msg" : "at least a command name is required"
"msg" : "the command module requires arguments (-a)"
})
sys.exit(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment