You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by mc...@apache.org on 2014/05/02 22:40:45 UTC

git commit: Make "--help" defer to bridged help in the bridged client executable.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 8ca5ab422 -> 66db66e08


Make "--help" defer to bridged help in the bridged client executable.

Reviewed at https://reviews.apache.org/r/21023/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/66db66e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/66db66e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/66db66e0

Branch: refs/heads/master
Commit: 66db66e08bc8950d6dd41d051dad0abd91a17a6e
Parents: 8ca5ab4
Author: Mark Chu-Carroll <mc...@twopensource.com>
Authored: Fri May 2 16:37:13 2014 -0400
Committer: Mark Chu-Carroll <mc...@twitter.com>
Committed: Fri May 2 16:37:23 2014 -0400

----------------------------------------------------------------------
 src/main/python/apache/aurora/client/cli/bridge.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/66db66e0/src/main/python/apache/aurora/client/cli/bridge.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/cli/bridge.py b/src/main/python/apache/aurora/client/cli/bridge.py
index 30f1718..1a48f00 100644
--- a/src/main/python/apache/aurora/client/cli/bridge.py
+++ b/src/main/python/apache/aurora/client/cli/bridge.py
@@ -83,7 +83,7 @@ class Bridge(object):
     if len(args) == 1:
       args.append('help')
     for cl in self.command_processors:
-      if args[1] == 'help':
+      if args[1] == 'help' or args[1] == '--help':
         self.show_help(args)
         return 0
       if args[1] in cl.get_commands():