cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [03/50] [abbrv] git commit: refs/heads/ui-multiple-pod-ranges - cli: Run onecmd if any arg is passed
Date Mon, 25 Mar 2013 17:52:03 GMT
cli: Run onecmd if any arg is passed

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0d62549d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0d62549d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0d62549d

Branch: refs/heads/ui-multiple-pod-ranges
Commit: 0d62549d61acf9534a7b7e7780241a217e1de20f
Parents: 4ad5d1a
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Mar 20 13:14:09 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Wed Mar 20 13:14:09 2013 +0530

----------------------------------------------------------------------
 tools/cli/cloudmonkey/cloudmonkey.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0d62549d/tools/cli/cloudmonkey/cloudmonkey.py
----------------------------------------------------------------------
diff --git a/tools/cli/cloudmonkey/cloudmonkey.py b/tools/cli/cloudmonkey/cloudmonkey.py
index a95ab9e..94006c9 100644
--- a/tools/cli/cloudmonkey/cloudmonkey.py
+++ b/tools/cli/cloudmonkey/cloudmonkey.py
@@ -490,7 +490,7 @@ def main():
         sys.exit(0)
 
     shell = CloudMonkeyShell(sys.argv[0], options.cfile)
-    if len(args) > 1:
+    if len(args) > 0:
         shell.onecmd(' '.join(args))
     else:
         shell.cmdloop()


Mime
View raw message