Cleanup test usage printout
[urcu.git] / tests / test_urcu_wfs.c
index 338954faeb351f777591e062493cef67397371a7..a379fa39176c9453f1249748da21409b08e4c92f 100644 (file)
@@ -339,17 +339,19 @@ static void test_end(struct cds_wfs_stack *s, unsigned long long *nr_dequeues,
 
 static void show_usage(int argc, char **argv)
 {
-       printf("Usage : %s nr_dequeuers nr_enqueuers duration (s)", argv[0]);
-       printf(" [-d delay] (enqueuer period (in loops))");
-       printf(" [-c duration] (dequeuer period (in loops))");
-       printf(" [-v] (verbose output)");
-       printf(" [-a cpu#] [-a cpu#]... (affinity)");
-       printf(" [-p] (test pop)");
-       printf(" [-P] (test pop_all, enabled by default)");
-       printf(" [-M] (use mutex external synchronization)");
-       printf("      Note: default: no external synchronization used.");
-       printf(" [-f] (force user-provided synchronization)");
-       printf(" [-w] Wait for dequeuer to empty stack");
+       printf("Usage : %s nr_dequeuers nr_enqueuers duration (s) <OPTIONS>\n",
+               argv[0]);
+       printf("OPTIONS:\n");
+       printf("        [-d delay] (enqueuer period (in loops))\n");
+       printf("        [-c duration] (dequeuer period (in loops))\n");
+       printf("        [-v] (verbose output)\n");
+       printf("        [-a cpu#] [-a cpu#]... (affinity)\n");
+       printf("        [-p] (test pop)\n");
+       printf("        [-P] (test pop_all, enabled by default)\n");
+       printf("        [-M] (use mutex external synchronization)\n");
+       printf("                Note: default: no external synchronization used.\n");
+       printf("        [-f] (force user-provided synchronization)\n");
+       printf("        [-w] Wait for dequeuer to empty stack\n");
        printf("\n");
 }
 
This page took 0.022415 seconds and 4 git commands to generate.