[infinispan-commits] Infinispan SVN: r1727 - trunk/server/core/src/main/scala/org/infinispan/server/core.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Fri Apr 23 11:26:13 EDT 2010
Author: galder.zamarreno at jboss.com
Date: 2010-04-23 11:26:12 -0400 (Fri, 23 Apr 2010)
New Revision: 1727
Modified:
trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala
Log:
Better formatting for help message.
Modified: trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala
===================================================================
--- trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala 2010-04-23 14:59:34 UTC (rev 1726)
+++ trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala 2010-04-23 15:26:12 UTC (rev 1727)
@@ -183,15 +183,27 @@
println
println("options:")
println(" -h, --help Show this help message")
+ println
println(" -V, --version Show version information")
+ println
println(" -- Stop processing options")
+ println
println(" -p, --port=<num> TCP port number to listen on (default: 11211 for Memcached servers, 11311 for Hot Rod servers)")
+ println
println(" -l, --host=<host or ip> Interface to listen on (default: 127.0.0.1, localhost)")
+ println
println(" -m, --master_threads=<num> Number of threads accepting incoming connections (default: unlimited while resources are available)")
+ println
println(" -t, --work_threads=<num> Number of threads processing incoming requests and sending responses (default: unlimited while resources are available)")
+ println
println(" -c, --cache_config=<filename> Cache configuration file (default: creates cache with default values)")
+ println
println(" -r, --protocol=[memcached|hotrod] Protocol to understand by the server. This is a mandatory option and you should choose one of the two options")
- println(" -i, --idle_timeout=<num> Idle read timeout used to detect stale connections (default: 60 seconds). If no new messages have been read within this time, the server disconnects the channel. Passing 0 means disabling idle timeout.")
+ println
+ println(" -i, --idle_timeout=<num> Idle read timeout, in seconds, used to detect stale connections (default: 60 seconds).")
+ println(" If no new messages have been read within this time, the server disconnects the channel.")
+ println(" Passing 0 disables idle timeout.")
+ println
println(" -D<name>[=<value>] Set a system property")
println
System.exit(0)
More information about the infinispan-commits
mailing list