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:
parent
c482ba866c
commit
30a6c63827
|
@ -37,7 +37,7 @@ if "%1" == "--help" (
|
||||||
echo Error usage! You should use it like 'hbase --help' or 'hbase -h';
|
echo Error usage! You should use it like 'hbase --help' or 'hbase -h';
|
||||||
exit /B 2
|
exit /B 2
|
||||||
)
|
)
|
||||||
if "%1" == "--help" (
|
if "%1" == "-h" (
|
||||||
echo Error usage! You should use it like 'hbase --help' or 'hbase -h';
|
echo Error usage! You should use it like 'hbase --help' or 'hbase -h';
|
||||||
exit /B 2
|
exit /B 2
|
||||||
)
|
)
|
||||||
|
|
|
@ -63,7 +63,7 @@ if "%1" == "--help" (
|
||||||
goto :print_usage
|
goto :print_usage
|
||||||
exit /B 0
|
exit /B 0
|
||||||
)
|
)
|
||||||
if "%1" == "--help" (
|
if "%1" == "-h" (
|
||||||
goto :print_usage
|
goto :print_usage
|
||||||
exit /B 0
|
exit /B 0
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue