Repository: flume
Updated Branches:
  refs/heads/trunk a7f9255a8 -> 6f6f69b8b


FLUME-2592. Fix help message in File Channel Integrity Tool.

(Ashish Paliwal via Hari)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/6f6f69b8
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/6f6f69b8
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/6f6f69b8

Branch: refs/heads/trunk
Commit: 6f6f69b8b3435385b578af4bfb7790f2984bfb35
Parents: a7f9255
Author: Hari Shreedharan <[email protected]>
Authored: Wed Feb 11 18:03:52 2015 -0800
Committer: Hari Shreedharan <[email protected]>
Committed: Wed Feb 11 18:05:00 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/flume/tools/FileChannelIntegrityTool.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/6f6f69b8/flume-tools/src/main/java/org/apache/flume/tools/FileChannelIntegrityTool.java
----------------------------------------------------------------------
diff --git 
a/flume-tools/src/main/java/org/apache/flume/tools/FileChannelIntegrityTool.java
 
b/flume-tools/src/main/java/org/apache/flume/tools/FileChannelIntegrityTool.java
index d0753a6..1030442 100644
--- 
a/flume-tools/src/main/java/org/apache/flume/tools/FileChannelIntegrityTool.java
+++ 
b/flume-tools/src/main/java/org/apache/flume/tools/FileChannelIntegrityTool.java
@@ -118,12 +118,12 @@ public class FileChannelIntegrityTool implements 
FlumeTool {
     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 {

Reply via email to