updated to isAdvanceMode() and updated spacing on file

This commit is contained in:
Connor Tumbleson 2013-04-01 16:44:19 -05:00
parent a48c11dc1c
commit 9a6fd7de63

View File

@ -354,7 +354,7 @@ public class Main {
.create("v");
// check for advance mode
if (advanceMode) {
if (isAdvanceMode()) {
DecodeOptions.addOption(debugDecOption);
DecodeOptions.addOption(noDbgOption);
DecodeOptions.addOption(keepResOption);
@ -409,7 +409,7 @@ public class Main {
}
private static String verbosityHelp() {
if (advanceMode) {
if (isAdvanceMode()) {
return "[-q|--quiet OR -v|--verbose] ";
} else {
return "";
@ -436,7 +436,7 @@ public class Main {
" and baksmali v" + ApktoolProperties.get("baksmaliVersion") + "\n" +
"Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>\n" +
"Updated by Connor Tumbleson <connor.tumbleson@gmail.com>" );
if (advanceMode) {
if (isAdvanceMode()) {
System.out.println("Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)\n");
}else {
System.out.println("");
@ -447,7 +447,7 @@ public class Main {
formatter.printHelp("apktool " + verbosityHelp() + "if|install-framework [options] <framework.apk>", frameOptions);
formatter.printHelp("apktool " + verbosityHelp() + "d[ecode] [options] <file_apk>", DecodeOptions);
formatter.printHelp("apktool " + verbosityHelp() + "b[uild] [options] <app_path>", BuildOptions);
if (advanceMode) {
if (isAdvanceMode()) {
formatter.printHelp("apktool " + verbosityHelp() + "publicize-resources <file_path>",
"Make all framework resources public.", emptyOptions, null);
} else {