hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject incubator-hawq git commit: HAWQ-904. Fix hawq config help messages.
Date Tue, 06 Sep 2016 02:39:13 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/confighelp [created] 429ae91ae


HAWQ-904. Fix hawq config help messages.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/429ae91a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/429ae91a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/429ae91a

Branch: refs/heads/confighelp
Commit: 429ae91ae419342dd585226eea43ae6884dfb39f
Parents: 268b4e5
Author: rlei <rlei@pivotal.io>
Authored: Mon Sep 5 16:44:01 2016 +0800
Committer: rlei <rlei@pivotal.io>
Committed: Tue Sep 6 10:39:00 2016 +0800

----------------------------------------------------------------------
 tools/bin/hawq | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/429ae91a/tools/bin/hawq
----------------------------------------------------------------------
diff --git a/tools/bin/hawq b/tools/bin/hawq
index 97079b8..cb06298 100755
--- a/tools/bin/hawq
+++ b/tools/bin/hawq
@@ -137,13 +137,13 @@ def main():
         cmd = "%s; hawq_ctl start %s" % (source_hawq_env, sub_args)
         result = local_run(cmd)
     elif hawq_command == "activate":
-        if second_arg in ['', 'help', '--help']:
+        if second_arg in ['', 'help', '--help', '-h']:
             print ACTIVE_HELP
             sys.exit(1)
         cmd = "%s; hawq_ctl %s %s" % (source_hawq_env, hawq_command, sub_args)
         result = local_run(cmd)
     elif hawq_command == "config":
-        if second_arg in ['', 'help', '--help']:
+        if second_arg in ['', 'help', '--help', '-h']:
             print CONFIG_HELP
             sys.exit(1)
         cmd = "%s; hawqconfig %s" % (source_hawq_env, sub_args)


Mime
View raw message