diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java index d887d9600de..fea97285b2a 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java @@ -567,21 +567,28 @@ public class GenericOptionsParser { * @param out stream to print the usage message to. */ public static void printGenericCommandUsage(PrintStream out) { - - out.println("Generic options supported are"); - out.println("-conf specify an application configuration file"); - out.println("-D use value for given property"); - out.println("-fs specify a namenode"); - out.println("-jt specify a ResourceManager"); - out.println("-files " + - "specify comma separated files to be copied to the map reduce cluster"); - out.println("-libjars " + - "specify comma separated jar files to include in the classpath."); - out.println("-archives " + - "specify comma separated archives to be unarchived" + - " on the compute machines.\n"); - out.println("The general command line syntax is"); - out.println("command [genericOptions] [commandOptions]\n"); + out.println("Generic options supported are:"); + out.println("-conf " + + "specify an application configuration file"); + out.println("-D " + + "define a value for a given property"); + out.println("-fs " + + "specify a namenode"); + out.println("-jt " + + "specify a ResourceManager"); + out.println("-files " + + "specify a comma-separated list of files to be copied to the map " + + "reduce cluster"); + out.println("-libjars " + + "specify a comma-separated list of jar files to be included in the " + + "classpath"); + out.println("-archives " + + "specify a comma-separated list of archives to be unarchived on the " + + "compute machines"); + out.println(); + out.println("The general command line syntax is:"); + out.println("command [genericOptions] [commandOptions]"); + out.println(); } }