Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 e27b172dd -> 90d304bb0


SQOOP-2380: Sqoop2: Wrong argument for show link client command

(Banmeet Singh via Abraham Elmahrek)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/90d304bb
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/90d304bb
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/90d304bb

Branch: refs/heads/sqoop2
Commit: 90d304bb0d164212d8c60aa2452ea0d44ad8960b
Parents: e27b172
Author: Abraham Elmahrek <[email protected]>
Authored: Fri May 29 17:15:38 2015 -0700
Committer: Abraham Elmahrek <[email protected]>
Committed: Fri May 29 17:15:38 2015 -0700

----------------------------------------------------------------------
 shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/90d304bb/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
----------------------------------------------------------------------
diff --git a/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java 
b/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
index 17c2df3..70f268f 100644
--- a/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
+++ b/shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
@@ -47,9 +47,9 @@ public class ShowLinkFunction extends SqoopFunction {
         
.withDescription(resourceString(Constants.RES_SHOW_PROMPT_DISPLAY_ALL_LINKS))
         .withLongOpt(Constants.OPT_ALL)
         .create(Constants.OPT_ALL_CHAR));
-    this.addOption(OptionBuilder.hasArg().withArgName(Constants.OPT_FROM)
+    this.addOption(OptionBuilder.hasArg().withArgName(Constants.OPT_LID)
         
.withDescription(resourceString(Constants.RES_SHOW_PROMPT_DISPLAY_LINK_LID))
-        .withLongOpt(Constants.OPT_FROM)
+        .withLongOpt(Constants.OPT_LID)
         .create(Constants.OPT_LID_CHAR));
   }
 

Reply via email to