Remove duplicate generic usage information to hdfs debug command (#3576). Contributed by daimin.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
daimin 2021-10-22 23:39:37 +08:00 committed by GitHub
parent 32ecaed9c3
commit 7b913bc6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,9 +459,9 @@ private void printUsage() {
if (!command.name.equals("help")) {
System.out.println(command.usageText);
}
System.out.println();
ToolRunner.printGenericCommandUsage(System.out);
}
System.out.println();
ToolRunner.printGenericCommandUsage(System.out);
}
public static void main(String[] argsArray) throws Exception {