Repository: flume
Updated Branches:
  refs/heads/flume-1.6 5dfd3d963 -> 3e75dc58a


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/3e75dc58
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/3e75dc58
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/3e75dc58

Branch: refs/heads/flume-1.6
Commit: 3e75dc58ae85101dcb166d99056c2f3e4523f002
Parents: 5dfd3d9
Author: Hari Shreedharan <[email protected]>
Authored: Wed Feb 11 18:03:52 2015 -0800
Committer: Hari Shreedharan <[email protected]>
Committed: Wed Feb 11 18:03:52 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/3e75dc58/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