gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 425b641)
raw | patch | inline | side by side (parent: 425b641)
author | Doni Pracner <quinnuendo@gmail.com> | |
Fri, 7 Feb 2014 20:12:13 +0000 (21:12 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Fri, 7 Feb 2014 20:12:13 +0000 (21:12 +0100) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index 133ca3da99eecb12fa8d2f8aa1a8e2c6f716ef5c..bed0f378d498bb9963a4b5b72664ef4d97cd1b97 100644 (file)
--- a/src/mjc2wsl.java
+++ b/src/mjc2wsl.java
}
public void printHelp() {
- System.out.println("MicroJava bytecode to WSL converter. v " + versionN
- + ", by Doni Pracner");
+ printVersion();
System.out.println("usage:\n\t mjc2wsl {options} filename [outfile]");
System.out.println("basic options:\n\t--screen print output to screen");
System.out.println("\t-o --oc[+-] include original code in comments");
}
public void printLongHelp() {
- System.out.println("MicroJava bytecode to WSL converter. v " + versionN
- + ", by Doni Pracner");
+ printVersion();
System.out.println("usage:\n\t mjc2wsl {options} filename [outfile]");
System.out.println("Output options:");
System.out.println(" --screen print output to screen");
System.out.println(" --help print more detailed help; this screen");
}
+ public void printVersion() {
+ System.out.println("MicroJava bytecode to WSL converter. v " + versionN
+ + ", by Doni Pracner");
+ }
+
public String makeDefaultOutName(String inname){
String rez = inname;
if (inname.endsWith(".obj"))