From: adam Date: Mon, 27 Dec 2004 02:59:03 +0000 (+0000) Subject: made Compiler default to --help if no arguments given X-Git-Url: http://git.megacz.com/?p=org.ibex.tool.git;a=commitdiff_plain;h=972548f2d156478714aab6c3cef9ed71628e025b made Compiler default to --help if no arguments given darcs-hash:20041227025903-5007d-f363128744f60e46a26f281f7c812f498e731821.gz --- diff --git a/src/org/ibex/tool/Compiler.java b/src/org/ibex/tool/Compiler.java index 4ce113c..532fb84 100644 --- a/src/org/ibex/tool/Compiler.java +++ b/src/org/ibex/tool/Compiler.java @@ -27,6 +27,7 @@ public class Compiler { List srcdir = new ArrayList(); String source = null, target = null, blddir = null; + if (args.length == 0) args = new String[] { "--help" }; for (int i=0; i < args.length; i++) { if (args[i].charAt(0) == '-') { if (args[i].length() == 1) {