Fixed formatting.

This commit is contained in:
Izzat Bahadirov 2013-04-29 16:36:13 -04:00
parent 03b8247850
commit 6a2a627d3b
2 changed files with 28 additions and 28 deletions

View File

@ -144,24 +144,24 @@ public class DumpFields {
private static void buildOptions() { private static void buildOptions() {
Option classPathDirOption = OptionBuilder.withLongOpt("bootclasspath-dir") Option classPathDirOption = OptionBuilder.withLongOpt("bootclasspath-dir")
.withDescription("the base folder to look for the bootclasspath files in. Defaults to the current " + .withDescription("the base folder to look for the bootclasspath files in. Defaults to the current " +
"directory") "directory")
.hasArg() .hasArg()
.withArgName("DIR") .withArgName("DIR")
.create("d"); .create("d");
Option outputFileOption = OptionBuilder.withLongOpt("out-file") Option outputFileOption = OptionBuilder.withLongOpt("out-file")
.withDescription("output file") .withDescription("output file")
.hasArg() .hasArg()
.withArgName("FILE") .withArgName("FILE")
.create("o"); .create("o");
Option apiLevelOption = OptionBuilder.withLongOpt("api-level") Option apiLevelOption = OptionBuilder.withLongOpt("api-level")
.withDescription("The numeric api-level of the file being disassembled. If not " + .withDescription("The numeric api-level of the file being disassembled. If not " +
"specified, it defaults to 15 (ICS).") "specified, it defaults to 15 (ICS).")
.hasArg() .hasArg()
.withArgName("API_LEVEL") .withArgName("API_LEVEL")
.create("a"); .create("a");
options.addOption(classPathDirOption); options.addOption(classPathDirOption);
options.addOption(outputFileOption); options.addOption(outputFileOption);

View File

@ -146,24 +146,24 @@ public class DumpVtables {
private static void buildOptions() { private static void buildOptions() {
Option classPathDirOption = OptionBuilder.withLongOpt("bootclasspath-dir") Option classPathDirOption = OptionBuilder.withLongOpt("bootclasspath-dir")
.withDescription("the base folder to look for the bootclasspath files in. Defaults to the current " + .withDescription("the base folder to look for the bootclasspath files in. Defaults to the current " +
"directory") "directory")
.hasArg() .hasArg()
.withArgName("DIR") .withArgName("DIR")
.create("d"); .create("d");
Option outputFileOption = OptionBuilder.withLongOpt("out-file") Option outputFileOption = OptionBuilder.withLongOpt("out-file")
.withDescription("output file") .withDescription("output file")
.hasArg() .hasArg()
.withArgName("FILE") .withArgName("FILE")
.create("o"); .create("o");
Option apiLevelOption = OptionBuilder.withLongOpt("api-level") Option apiLevelOption = OptionBuilder.withLongOpt("api-level")
.withDescription("The numeric api-level of the file being disassembled. If not " + .withDescription("The numeric api-level of the file being disassembled. If not " +
"specified, it defaults to 15 (ICS).") "specified, it defaults to 15 (ICS).")
.hasArg() .hasArg()
.withArgName("API_LEVEL") .withArgName("API_LEVEL")
.create("a"); .create("a");
options.addOption(classPathDirOption); options.addOption(classPathDirOption);
options.addOption(outputFileOption); options.addOption(outputFileOption);