Revert "Remove duplicate generic usage information to hdfs debug command (#3576). Contributed by daimin."
Misses Jira ID in the commit Message: HDFS-16282
This reverts commit 7b913bc6bc
.
This commit is contained in:
parent
7b913bc6bc
commit
f67e6c315b
@ -459,10 +459,10 @@ private void printUsage() {
|
|||||||
if (!command.name.equals("help")) {
|
if (!command.name.equals("help")) {
|
||||||
System.out.println(command.usageText);
|
System.out.println(command.usageText);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
System.out.println();
|
System.out.println();
|
||||||
ToolRunner.printGenericCommandUsage(System.out);
|
ToolRunner.printGenericCommandUsage(System.out);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void main(String[] argsArray) throws Exception {
|
public static void main(String[] argsArray) throws Exception {
|
||||||
DebugAdmin debugAdmin = new DebugAdmin(new Configuration());
|
DebugAdmin debugAdmin = new DebugAdmin(new Configuration());
|
||||||
|
Loading…
Reference in New Issue
Block a user