aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_workqueue.c
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-07-21 12:45:47 +0200
committerNick Mathewson <nickm@torproject.org>2015-07-21 14:02:41 -0400
commitf4b03f936ef6f97e8710af75b829f0621f0f2433 (patch)
tree866d42faffb9513e716174c3ae34ad780f1b2639 /src/test/test_workqueue.c
parentc68b3418821ddbe6cfaf94fb8959be52e55f2fe1 (diff)
downloadtor-f4b03f936ef6f97e8710af75b829f0621f0f2433.tar.gz
tor-f4b03f936ef6f97e8710af75b829f0621f0f2433.zip
Improve the workqueue test help message.
The workqueue test help message has two issues. First, the message uses 4 space indentation when 2 space indentation seems more common. Second, the help message misses some options. This commit fixes both issues.
Diffstat (limited to 'src/test/test_workqueue.c')
-rw-r--r--src/test/test_workqueue.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index 24d7ffefa3..a1a94882dc 100644
--- a/src/test/test_workqueue.c
+++ b/src/test/test_workqueue.c
@@ -300,14 +300,16 @@ help(void)
{
puts(
"Options:\n"
- " -N <items> Run this many items of work\n"
- " -T <threads> Use this many threads\n"
- " -I <inflight> Have no more than this many requests queued at once\n"
- " -L <lowwater> Add items whenever fewer than this many are pending\n"
- " -C <cancel> Try to cancel N items of every batch that we add\n"
- " -R <ratio> Make one out of this many items be a slow (RSA) one\n"
- " --no-{eventfd2,eventfd,pipe2,pipe,socketpair}\n"
- " Disable one of the alert_socket backends.");
+ " -h Display this information\n"
+ " -v Be verbose\n"
+ " -N <items> Run this many items of work\n"
+ " -T <threads> Use this many threads\n"
+ " -I <inflight> Have no more than this many requests queued at once\n"
+ " -L <lowwater> Add items whenever fewer than this many are pending\n"
+ " -C <cancel> Try to cancel N items of every batch that we add\n"
+ " -R <ratio> Make one out of this many items be a slow (RSA) one\n"
+ " --no-{eventfd2,eventfd,pipe2,pipe,socketpair}\n"
+ " Disable one of the alert_socket backends.");
}
int