diff options
author | cypherpunks <cypherpunks@torproject.org> | 2015-07-21 12:45:47 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-21 14:02:41 -0400 |
commit | f4b03f936ef6f97e8710af75b829f0621f0f2433 (patch) | |
tree | 866d42faffb9513e716174c3ae34ad780f1b2639 | |
parent | c68b3418821ddbe6cfaf94fb8959be52e55f2fe1 (diff) | |
download | tor-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.
-rw-r--r-- | src/test/test_workqueue.c | 18 |
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 |