Cleanup test usage printout
[urcu.git] / tests / test_urcu_lfs.c
index 45ed0628fc3dc5073fe10329319ed6860aa4133b..67ccaa25f3f9911e77acbc22d62f43ba6d84ed1c 100644 (file)
@@ -343,15 +343,17 @@ static void test_end(struct cds_lfs_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(" [-R] (use RCU external synchronization)");
-       printf("      Note: default: no external synchronization used.");
+       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("        [-R] (use RCU external synchronization)\n");
+       printf("                Note: default: no external synchronization used.\n");
        printf("\n");
 }
 
This page took 0.023148 seconds and 4 git commands to generate.