X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_gc.c;h=da17a212dae00490c1336994dedae7369c2ed999;hb=8ff97cc3836c6a2739b62af0a859511c9c284e4f;hp=c452afbd1f2e92a7186a07fcb4ef01dba1310671;hpb=2953b501ab1dcf908d07de9b414a08397519f5b6;p=urcu.git diff --git a/tests/test_urcu_gc.c b/tests/test_urcu_gc.c index c452afb..da17a21 100644 --- a/tests/test_urcu_gc.c +++ b/tests/test_urcu_gc.c @@ -309,15 +309,17 @@ void *thr_writer(void *data) void show_usage(int argc, char **argv) { - printf("Usage : %s nr_readers nr_writers duration (s)", argv[0]); + printf("Usage : %s nr_readers nr_writers duration (s) \n", + argv[0]); + printf("OPTIONS:\n"); #ifdef DEBUG_YIELD - printf(" [-r] [-w] (yield reader and/or writer)"); + printf(" [-r] [-w] (yield reader and/or writer)\n"); #endif - printf(" [-d delay] (writer period (us))"); - printf(" [-c duration] (reader C.S. duration (in loops))"); - printf(" [-e duration] (writer C.S. duration (in loops))"); - printf(" [-v] (verbose output)"); - printf(" [-a cpu#] [-a cpu#]... (affinity)"); + printf(" [-d delay] (writer period (us))\n"); + printf(" [-c duration] (reader C.S. duration (in loops))\n"); + printf(" [-e duration] (writer C.S. duration (in loops))\n"); + printf(" [-v] (verbose output)\n"); + printf(" [-a cpu#] [-a cpu#]... (affinity)\n"); printf("\n"); }