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/17 10:27:15 UTC

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

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



##########
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:
       Can you please provide an example of what exact command will bring the control here? 
   Is it `bin/hbase-config.sh --help` ?




----------------------------------------------------------------
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