You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/06/18 02:11:37 UTC

[GitHub] [hbase] WenFeiYi commented on a change in pull request #1914: HBASE-24550 Passing '-h' or '--help' to bin/hbase doesn't do as expected

WenFeiYi commented on a change in pull request #1914:
URL: https://github.com/apache/hbase/pull/1914#discussion_r441928940



##########
File path: bin/hbase-config.sh
##########
@@ -94,6 +94,10 @@ do
     shift
     # shellcheck disable=SC2034
     DEBUG="true"
+  elif [ "--help" = "$1" ] || [ "-h" = "$1" ]
+  then
+    echo "Error usage! You should use it like 'hbase --help' or 'hbase -h'";

Review comment:
       bin/hbase --config ./conf/ --help version




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org