minor reformatting - reorder the options

git-svn-id: https://smali.googlecode.com/svn/trunk@698 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2010-04-03 23:03:09 +00:00
parent c6734e8a60
commit db806b1261

View File

@ -339,38 +339,12 @@ public class main {
.withDescription("prints the help message then exits. Specify twice for debug options") .withDescription("prints the help message then exits. Specify twice for debug options")
.create("?"); .create("?");
Option noDisassemblyOption = OptionBuilder.withLongOpt("no-disassembly")
.withDescription("suppresses the output of the disassembly")
.create("N");
Option dumpOption = OptionBuilder.withLongOpt("dump-to")
.withDescription("dumps the given dex file into a single annotated dump file named FILE" +
" (<dexfile>.dump by default), along with the normal disassembly.")
.hasOptionalArg()
.withArgName("FILE")
.create("D");
Option writeDexOption = OptionBuilder.withLongOpt("write-dex")
.withDescription("additionally rewrites the input dex file to FILE")
.hasArg()
.withArgName("FILE")
.create("W");
Option outputDirOption = OptionBuilder.withLongOpt("output") Option outputDirOption = OptionBuilder.withLongOpt("output")
.withDescription("the directory where the disassembled files will be placed. The default is out") .withDescription("the directory where the disassembled files will be placed. The default is out")
.hasArg() .hasArg()
.withArgName("DIR") .withArgName("DIR")
.create("o"); .create("o");
Option sortOption = OptionBuilder.withLongOpt("sort")
.withDescription("sort the items in the dex file into a canonical order before dumping/writing")
.create("S");
Option fixSignedRegisterOption = OptionBuilder.withLongOpt("fix-signed-registers")
.withDescription("when dumping or rewriting, fix any registers in the debug info that are encoded as" +
" a signed value")
.create("F");
Option noParameterRegistersOption = OptionBuilder.withLongOpt("no-parameter-registers") Option noParameterRegistersOption = OptionBuilder.withLongOpt("no-parameter-registers")
.withDescription("use the v<n> syntax instead of the p<n> syntax for registers mapped to method " + .withDescription("use the v<n> syntax instead of the p<n> syntax for registers mapped to method " +
"parameters") "parameters")
@ -428,6 +402,34 @@ public class main {
.withDescription("add comments to the disassembly containing the code offset for each address") .withDescription("add comments to the disassembly containing the code offset for each address")
.create("f"); .create("f");
Option dumpOption = OptionBuilder.withLongOpt("dump-to")
.withDescription("dumps the given dex file into a single annotated dump file named FILE" +
" (<dexfile>.dump by default), along with the normal disassembly.")
.hasOptionalArg()
.withArgName("FILE")
.create("D");
Option noDisassemblyOption = OptionBuilder.withLongOpt("no-disassembly")
.withDescription("suppresses the output of the disassembly")
.create("N");
Option writeDexOption = OptionBuilder.withLongOpt("write-dex")
.withDescription("additionally rewrites the input dex file to FILE")
.hasArg()
.withArgName("FILE")
.create("W");
Option sortOption = OptionBuilder.withLongOpt("sort")
.withDescription("sort the items in the dex file into a canonical order before dumping/writing")
.create("S");
Option fixSignedRegisterOption = OptionBuilder.withLongOpt("fix-signed-registers")
.withDescription("when dumping or rewriting, fix any registers in the debug info that are encoded as" +
" a signed value")
.create("F");
Option verifyDexOption = OptionBuilder.withLongOpt("verify") Option verifyDexOption = OptionBuilder.withLongOpt("verify")
.withDescription("perform bytecode verification") .withDescription("perform bytecode verification")
.create("V"); .create("V");