From 0996e182b38f6b823591653bd30f6727a52a94ab Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 13 Apr 1999 10:43:25 +0000 Subject: [PATCH] allow -v multiple times git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@568 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/obfuscator/Main.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jode/jode/obfuscator/Main.java b/jode/jode/obfuscator/Main.java index a635256..bd522cc 100644 --- a/jode/jode/obfuscator/Main.java +++ b/jode/jode/obfuscator/Main.java @@ -25,7 +25,7 @@ import java.lang.reflect.Modifier; import java.io.PrintStream; public class Obfuscator { - public static boolean isVerbose = false; + public static int verboseLevel = 0; public static boolean isDebugging = false; public static boolean shouldStrip = true; @@ -48,7 +48,8 @@ public class Obfuscator { public static void usage() { err.println("usage: jode.Obfuscator flags* [class | package]*"); - err.println("\t[-v] "+"Verbose output"); + err.println("\t[-v] "+ + "Verbose output (allowed multiple times)."); err.println("\t[-debug] "+"Debugging"); err.println("\t[-nostrip] "+ "Don't strip not needed methods"); @@ -99,7 +100,7 @@ public class Obfuscator { for (i=0; i