Skip to content
Permalink
Browse files
FLUME-2592. Fix help message in File Channel Integrity Tool.
(Ashish Paliwal via Hari)
  • Loading branch information
harishreedharan committed Feb 12, 2015
1 parent a7f9255 commit 6f6f69b8b3435385b578af4bfb7790f2984bfb35
Showing 1 changed file with 2 additions and 2 deletions.
@@ -118,12 +118,12 @@ private boolean parseCommandLineOpts(String[] args) throws ParseException {
CommandLineParser parser = new GnuParser();
CommandLine commandLine = parser.parse(options, args);
if(commandLine.hasOption("help")) {
new HelpFormatter().printHelp("java -jar fcintegritytool ",
new HelpFormatter().printHelp("bin/flume-ng tool fcintegritytool ",
options, true);
return false;
}
if(!commandLine.hasOption("dataDirs")) {
new HelpFormatter().printHelp("java -jar fcintegritytool ", "",
new HelpFormatter().printHelp("bin/flume-ng tool fcintegritytool ", "",
options, "dataDirs is required.", true);
return false;
} else {

0 comments on commit 6f6f69b

Please sign in to comment.