From 0c3ff5be4a7f0bef0a36099949502295bdb23161 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Fri, 18 Jan 2013 14:44:33 +1100 Subject: [PATCH] Improve --help output for jetty-runner --- .../java/org/eclipse/jetty/runner/Runner.java | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java b/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java index 98ad47aff7a..1d00fa93e93 100644 --- a/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java +++ b/jetty-runner/src/main/java/org/eclipse/jetty/runner/Runner.java @@ -172,21 +172,20 @@ public class Runner if (error!=null) System.err.println("ERROR: "+error); System.err.println("Usage: java [-Djetty.home=dir] -jar jetty-runner.jar [--help|--version] [ server opts] [[ context opts] context ...] "); - System.err.println("Server Options:"); - System.err.println(" --version - display version and exit"); - System.err.println(" --log file - request log filename (with optional 'yyyy_mm_dd' wildcard"); - System.err.println(" --out file - info/warn/debug log filename (with optional 'yyyy_mm_dd' wildcard"); - System.err.println(" --port n - port to listen on (default 8080)"); - System.err.println(" --stop-port n - port to listen for stop command"); - System.err.println(" --stop-key n - security string for stop command (required if --stop-port is present)"); - System.err.println(" --jar file - a jar to be added to the classloader"); - System.err.println(" --lib dir - a directory of jars to be added to the classloader"); - System.err.println(" --classes dir - a directory of classes to be added to the classloader"); + System.err.println("Server opts:"); + System.err.println(" --version - display version and exit"); + System.err.println(" --log file - request log filename (with optional 'yyyy_mm_dd' wildcard"); + System.err.println(" --out file - info/warn/debug log filename (with optional 'yyyy_mm_dd' wildcard"); + System.err.println(" --port n - port to listen on (default 8080)"); + System.err.println(" --stop-port n - port to listen for stop command"); + System.err.println(" --stop-key n - security string for stop command (required if --stop-port is present)"); + System.err.println(" [--jar file]*n - each tuple specifies an extra jar to be added to the classloader"); + System.err.println(" [--lib dir]*n - each tuple specifies an extra directory of jars to be added to the classloader"); + System.err.println(" [--classes dir]*n - each tuple specifies an extra directory of classes to be added to the classloader"); System.err.println(" --stats [unsecure|realm.properties] - enable stats gathering servlet context"); - System.err.println(" [--config file]*n - each --config parameter specifies the name of a jetty xml config file to apply (in the order defined)"); - System.err.println("Context Options:"); - System.err.println(" --path /path - context path (default /)"); - System.err.println(" context - WAR file, web app dir or context xml file"); + System.err.println(" [--config file]*n - each tuple specifies the name of a jetty xml config file to apply (in the order defined)"); + System.err.println("Context opts:"); + System.err.println(" [[--path /path] context]*n - WAR file, web app dir or context xml file, optionally with a context path"); System.exit(1); }