Repository: sqoop Updated Branches: refs/heads/trunk c0831f20c -> efda8ddca
SQOOP-1212. Do not print usage on wrong command line. (Jarcec via Hari) Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/efda8ddc Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/efda8ddc Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/efda8ddc Branch: refs/heads/trunk Commit: efda8ddca4f2ae52d5a1c999e193a5063965a0fc Parents: c0831f2 Author: Hari Shreedharan <[email protected]> Authored: Thu Jul 10 14:30:41 2014 -0700 Committer: Hari Shreedharan <[email protected]> Committed: Thu Jul 10 14:30:41 2014 -0700 ---------------------------------------------------------------------- src/java/org/apache/sqoop/Sqoop.java | 4 ---- 1 file changed, 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/efda8ddc/src/java/org/apache/sqoop/Sqoop.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/sqoop/Sqoop.java b/src/java/org/apache/sqoop/Sqoop.java index 2addd62..93736a6 100644 --- a/src/java/org/apache/sqoop/Sqoop.java +++ b/src/java/org/apache/sqoop/Sqoop.java @@ -137,10 +137,6 @@ public class Sqoop extends Configured implements Tool { LOG.debug(e.getMessage(), e); // Print exception message. System.err.println(e.getMessage()); - // Print the tool usage message and exit. - ToolOptions toolOpts = new ToolOptions(); - tool.configureOptions(toolOpts); - tool.printHelp(toolOpts); return 1; // Exit on exception here. }
