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.
This commit is contained in:
cypherpunks 2015-07-21 12:45:47 +02:00 committed by Nick Mathewson
parent c68b341882
commit f4b03f936e

View File

@ -300,14 +300,16 @@ help(void)
{ {
puts( puts(
"Options:\n" "Options:\n"
" -N <items> Run this many items of work\n" " -h Display this information\n"
" -T <threads> Use this many threads\n" " -v Be verbose\n"
" -I <inflight> Have no more than this many requests queued at once\n" " -N <items> Run this many items of work\n"
" -L <lowwater> Add items whenever fewer than this many are pending\n" " -T <threads> Use this many threads\n"
" -C <cancel> Try to cancel N items of every batch that we add\n" " -I <inflight> Have no more than this many requests queued at once\n"
" -R <ratio> Make one out of this many items be a slow (RSA) one\n" " -L <lowwater> Add items whenever fewer than this many are pending\n"
" --no-{eventfd2,eventfd,pipe2,pipe,socketpair}\n" " -C <cancel> Try to cancel N items of every batch that we add\n"
" Disable one of the alert_socket backends."); " -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 int