From 35d498aeba025eee01c54992593a5abfe41ee9a8 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 1 Mar 2012 22:25:01 -0500 Subject: [PATCH] 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. --- command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command b/command index a9af113f240..3c74cc03b3d 100755 --- a/command +++ b/command @@ -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)