mirror of
https://github.com/apache/sqoop.git
synced 2025-05-17 09:20:43 +08:00
SQOOP-1147: Sqoop2: show framework function does not behave as expected
(Raghav Kumar Gautam via Jarek Jarcec Cecho)
This commit is contained in:
parent
91b121ccaa
commit
8c19c8c337
@ -35,7 +35,7 @@ protected ShowFrameworkFunction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Object executeFunction(CommandLine line) {
|
public Object executeFunction(CommandLine line) {
|
||||||
if (line.getArgs().length != 1) {
|
if (line.getArgs().length != 0) {
|
||||||
printlnResource(Constants.RES_SHOW_FRAMEWORK_USAGE);
|
printlnResource(Constants.RES_SHOW_FRAMEWORK_USAGE);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user