HDFS-16282. 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 Ayush Saxena
parent f67e6c315b
commit 6e57449350
No known key found for this signature in database
GPG Key ID: D09AE71061AB564D
1 changed files with 2 additions and 2 deletions

View File

@ -459,9 +459,9 @@ public class DebugAdmin extends Configured implements Tool {
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 {