change the default value for the -r parameter to ARGS|DEST

git-svn-id: https://smali.googlecode.com/svn/trunk@642 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2010-02-22 07:02:09 +00:00
parent 09ee2ce454
commit f25f713426

View File

@ -148,7 +148,7 @@ public class main {
String[] values = commandLine.getOptionValues('r'); String[] values = commandLine.getOptionValues('r');
if (values == null || values.length == 0) { if (values == null || values.length == 0) {
registerInfo = ARGS | DEST | MERGE; registerInfo = ARGS | DEST;
} else { } else {
for (String value: values) { for (String value: values) {
if (value.equalsIgnoreCase("ALL")) { if (value.equalsIgnoreCase("ALL")) {
@ -377,7 +377,7 @@ public class main {
.withArgName("REGISTER_INFO_TYPES") .withArgName("REGISTER_INFO_TYPES")
.withValueSeparator(',') .withValueSeparator(',')
.withDescription("print the specificed type(s) of register information for each instruction. " + .withDescription("print the specificed type(s) of register information for each instruction. " +
"\"ARGS,DEST,MERGE\" is the default if no types are specified.\nValid values are:\nALL: all " + "\"ARGS,DEST\" is the default if no types are specified.\nValid values are:\nALL: all " +
"pre- and post-instruction registers.\nALLPRE: all pre-instruction registers\nALLPOST: all " + "pre- and post-instruction registers.\nALLPRE: all pre-instruction registers\nALLPOST: all " +
"post-instruction registers\nARGS: any pre-instruction registers used as arguments to the " + "post-instruction registers\nARGS: any pre-instruction registers used as arguments to the " +
"instruction\nDEST: the post-instruction destination register, if any\nMERGE: Any " + "instruction\nDEST: the post-instruction destination register, if any\nMERGE: Any " +