From 82eb3af7e7703fc14d6ae50bb02493f5a0862d89 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Wed, 20 Mar 2013 21:56:39 -0500 Subject: [PATCH] forgot addition of --quiet and --verbose --- .../apktool-cli/src/main/java/brut/apktool/Main.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java b/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java index 9a3b87de..1372b87c 100644 --- a/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java +++ b/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java @@ -346,11 +346,11 @@ public class Main { .withArgName("dir") .create("o"); - Option decodeOption = OptionBuilder.withLongOpt("decode") - .create("d"); + Option quietOption = OptionBuilder.withLongOpt("quiet") + .create("q"); - Option buildOption = OptionBuilder.withLongOpt("build") - .create("b"); + Option verboseOption = OptionBuilder.withLongOpt("verbose") + .create("v"); // check for advance mode if (advanceMode) { @@ -403,8 +403,10 @@ public class Main { allOptions.addOption(debugBuiOption); allOptions.addOption(aaptOption); allOptions.addOption(originalOption); + allOptions.addOption(verboseOption); + allOptions.addOption(quietOption); } - + private static String verbosityHelp() { if (advanceMode) { return "[-q|--quiet OR -v|--verbose] ";