[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Improve the workqueue test help message.



commit f4b03f936ef6f97e8710af75b829f0621f0f2433
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Tue Jul 21 12:45:47 2015 +0200

    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.
---
 src/test/test_workqueue.c |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index 24d7ffe..a1a9488 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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits