You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2008/08/01 14:31:01 UTC
svn commit: r681674 -
/incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/QpidBench.java
Author: rhs
Date: Fri Aug 1 05:31:00 2008
New Revision: 681674
URL: http://svn.apache.org/viewvc?rev=681674&view=rev
Log:
improved usage
Modified:
incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/QpidBench.java
Modified: incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/QpidBench.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/QpidBench.java?rev=681674&r1=681673&r2=681674&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/QpidBench.java (original)
+++ incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/QpidBench.java Fri Aug 1 05:31:00 2008
@@ -59,7 +59,7 @@
{
defval = String.format(" (%s)", def);
}
- usage.append(String.format("\n %-15s%-15s %s", name, defval, description));
+ usage.append(String.format("\n %-15s%-14s %s", name, defval, description));
}
public String broker = "localhost";
@@ -106,7 +106,7 @@
}
{
- usage("-c, --count", "the number of messages to send and/or receive", count);
+ usage("-c, --count", "the number of messages to send/receive, 0 means no limit", count);
}
public void parse__count(String c)
@@ -120,7 +120,7 @@
}
{
- usage("-w, --window", "the number of messages to send before blocking", window);
+ usage("-w, --window", "the number of messages to send before blocking, 0 disables", window);
}
public void parse__window(String w)
@@ -134,7 +134,7 @@
}
{
- usage("--sample", "print stats after this many messages", sample);
+ usage("--sample", "print stats after this many messages, 0 disables", sample);
}
public void parse__sample(String s)
@@ -220,7 +220,7 @@
}
{
- usage("--message-cache", "reuse the same for each send if true", message_cache);
+ usage("--message-cache", "reuse the same message for each send if true", message_cache);
}
public void parse__message_cache(String c)