HBASE-24550 Passing '-h' or '--help' to bin/hbase doesn't do as expected (ADDENDUM)

Closes #1932

Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
WenFeiYi 2020-06-19 22:48:10 +05:30 committed by Viraj Jasani
parent c482ba866c
commit 30a6c63827
No known key found for this signature in database
GPG Key ID: B3D6C0B41C8ADFD5
2 changed files with 2 additions and 2 deletions

View File

@ -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" (
echo Error usage! You should use it like 'hbase --help' or 'hbase -h';
exit /B 2
)

View File

@ -63,7 +63,7 @@ if "%1" == "--help" (
goto :print_usage
exit /B 0
)
if "%1" == "--help" (
if "%1" == "-h" (
goto :print_usage
exit /B 0
)