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