From af29d1d3c77e9aa51f661db237bcbbcc42f08dd6 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 15 Jan 1999 10:57:07 +0000 Subject: [PATCH] new destDir parameter. print copyright + version + email git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@149 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/Decompiler.java | 40 +++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/jode/jode/Decompiler.java b/jode/jode/Decompiler.java index c9d815c..03990aa 100644 --- a/jode/jode/Decompiler.java +++ b/jode/jode/Decompiler.java @@ -18,8 +18,13 @@ */ package jode; +import java.io.*; public class Decompiler { + public final static String version = "0.99"; + public final static String email = "jochen@gnu.org"; + public final static String copyright = + "Jode Copyright 1998,1999 Jochen Hoenicke <"+email+">"; public static boolean isVerbose = false; public static boolean isDebugging = false; public static boolean isTypeDebugging = false; @@ -34,20 +39,27 @@ public class Decompiler { public static int importClassLimit = 3; public static void usage() { - System.err.println("use: jode [-v][--imm][--debug][--analyze][--flow]" - +"[--type][--inout][--lvt][--check]" - +"[--import pkglimit clslimit][--cp classpath]" + System.err.println("Version: " + version); + System.err.println("use: jode [-v][--dest ]" + +"[--imm][--debug][--analyze][--flow]" + +"[--type][--inout][--lvt][--check]" + +"[--import ]" + +"[--cp ]" +" class1 [class2 ...]"); } public static void main(String[] params) { int i; String classPath = System.getProperty("java.class.path"); + File destDir = null; + System.err.println(copyright); for (i=0; i