From c8b1bbc7eabb66134d44ff7a05d2ab2b27c80f86 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. --- library/command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/command b/library/command index a9af113f240..3c74cc03b3d 100755 --- a/library/command +++ b/library/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)