in src/main/java/org/apache/sling/launchpad/app/Main.java [685:712]
private static boolean doHelp(Map<String, String> args) {
if (args.remove("h") != null) {
System.out.println("usage: "
+ Main.class.getName()
+ " [ start | stop | status ] [ -j adr ] [ -l loglevel ] [ -f logfile ] [ -c slinghome ] [ -i launchpadhome ] [ -a address ] [ -p port ] { -Dn=v } [ -h ]");
System.out.println(" start listen for control connection (uses -j)");
System.out.println(" stop terminate running Apache Sling (uses -j)");
System.out.println(" status check whether Apache Sling is running (uses -j)");
System.out.println(" threads request a thread dump from Apache Sling (uses -j)");
System.out.println(" -j adr host and port to use for control connection in the format '[host:]port' (default 127.0.0.1:0)");
System.out.println(" -l loglevel the initial loglevel (0..4, FATAL, ERROR, WARN, INFO, DEBUG)");
System.out.println(" -f logfile the log file, \"-\" for stdout (default logs/error.log)");
System.out.println(" -c slinghome the sling context directory (default sling)");
System.out.println(" -i launchpadhome the launchpad directory (default slinghome)");
System.out.println(" -a address the interfact to bind to (use 0.0.0.0 for any)");
System.out.println(" -p port the port to listen to (default 8080)");
System.out.println(" -r path the root servlet context path for the http service (default is /)");
System.out.println(" -n don't install the shutdown hook");
System.out.println(" -Dn=v sets property n to value v. Make sure to use this option *after* " +
"the jar filename. The JVM also has a -D option which has a " +
"different meaning");
System.out.println(" -h prints this usage message");
return true;
}
return false;
}