2003/02/12 06:46:10
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:51:31 +0000 (06:51 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:51:31 +0000 (06:51 +0000)
darcs-hash:20040130065131-2ba56-988e5e06649d9bfbe66072b5a608baa33d8bad88.gz

CHANGES
src/org/xwt/Main.java

diff --git a/CHANGES b/CHANGES
index 58fb9f3..ed49e4e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
 
 11-Feb megacz Linux.xml: removed needless -ldl
 
+11-Feb megacz Main.java: System.out->System.err
+
+
+
 
 
 
index eaa4ab8..f6f9062 100644 (file)
@@ -52,18 +52,19 @@ public class Main extends Applet {
             int startargs = 0;
             while (true) {
                 if (startargs > args.length - 1) {
-                    System.out.println("Usage: xwt [-s] [-v] source-location [initial-template]");
-                    System.out.println("");
-                    System.out.println("Options:");
-                    System.out.println("    -s show rendering activity with red rectangles");
-                    System.out.println("    -v verbose logging");
-                    System.out.println("");
-                    System.out.println("Source-location is one of the following:");
-                    System.out.println("    - the path to an xwar file");
-                    System.out.println("    - the path to a directory to be used as an xwar");
-                    System.out.println("    - the http url of an xwar");
-                    System.out.println("");
-                    System.out.println("Initial-template is the resource name of the template to load; defaults to 'main'");
+                    System.err.println("Usage: xwt [-s] [-v] [-l <port>/<url>] source-location [initial-template]");
+                    System.err.println("");
+                    System.err.println("Options:");
+                    System.err.println("    -s show rendering activity with red rectangles");
+                    System.err.println("    -v verbose logging");
+                    System.err.println("    -l serve logs via HTTP on 127.0.0.1:<port>/<url>");
+                    System.err.println("");
+                    System.err.println("Source-location is one of the following:");
+                    System.err.println("    - the path to an xwar file");
+                    System.err.println("    - the path to a directory to be used as an xwar");
+                    System.err.println("    - the http url of an xwar");
+                    System.err.println("");
+                    System.err.println("Initial-template is the resource name of the template to load; defaults to 'main'");
                     Runtime.getRuntime().exit(-1);
                 }
                 else if (args[startargs].equals("-s")) showRenders = true;