virajjasani commented on a change in pull request #1932:
URL: https://github.com/apache/hbase/pull/1932#discussion_r442799700
##########
File path: bin/hbase-config.cmd
##########
@@ -37,7 +37,7 @@ if "%1" == "--help" (
echo Error usage! You should use it like 'hbase --help' or 'hbase -h';
exit /B 2
)
-if "%1" == "--help" (
+if "%1" == "-h" (
Review comment:
Oh wait, let's combine both of these if conditions.
Something like:
```
if ["%1" == "-h"] || ["%1" == "--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:
[email protected]