You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by vj...@apache.org on 2020/06/19 17:25:17 UTC

[hbase] branch branch-2.3 updated: HBASE-24550 Passing '-h' or '--help' to bin/hbase doesn't do as expected (ADDENDUM)

This is an automated email from the ASF dual-hosted git repository.

vjasani pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 0ae0aa4  HBASE-24550 Passing '-h' or '--help' to bin/hbase doesn't do as expected (ADDENDUM)
0ae0aa4 is described below

commit 0ae0aa44e3b1f10e94d5de03200147b00c80bf9a
Author: WenFeiYi <we...@gmail.com>
AuthorDate: Fri Jun 19 22:48:10 2020 +0530

    HBASE-24550 Passing '-h' or '--help' to bin/hbase doesn't do as expected (ADDENDUM)
    
    Closes #1932
    
    Signed-off-by: Viraj Jasani <vj...@apache.org>
---
 bin/hbase-config.cmd | 2 +-
 bin/hbase.cmd        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/hbase-config.cmd b/bin/hbase-config.cmd
index 654a3c9..3b7b713 100644
--- a/bin/hbase-config.cmd
+++ b/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" (
   echo Error usage! You should use it like 'hbase --help' or 'hbase -h';
   exit /B 2
 )
diff --git a/bin/hbase.cmd b/bin/hbase.cmd
index 426517c..a927227 100644
--- a/bin/hbase.cmd
+++ b/bin/hbase.cmd
@@ -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
 )