HBASE-10495 upgrade script is printing usage two times with help option.(Rajesh)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1567493 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
rajeshbabu 2014-02-12 02:06:30 +00:00
parent 5938f5ad16
commit 8b99b91cb9
1 changed files with 0 additions and 1 deletions

View File

@ -84,7 +84,6 @@ public class UpgradeTo96 extends Configured implements Tool {
CommandLineParser parser = new GnuParser(); CommandLineParser parser = new GnuParser();
CommandLine cmd = parser.parse(options, args); CommandLine cmd = parser.parse(options, args);
if (cmd.hasOption("h")) { if (cmd.hasOption("h")) {
printUsage();
return false; return false;
} }
if (cmd.hasOption("execute")) upgrade = true; if (cmd.hasOption("execute")) upgrade = true;