X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_mutex.c;h=e5fbf1a22b26e453112777cb3027ff94f278a6f0;hp=1230934ec790900b7121514e8316cbf74af622c4;hb=0663713865a25964c2932943c48e59ddf3caecd8;hpb=d89f0c51ed502c4248211eb43292e92a98ffe31b diff --git a/tests/test_mutex.c b/tests/test_mutex.c index 1230934..e5fbf1a 100644 --- a/tests/test_mutex.c +++ b/tests/test_mutex.c @@ -256,15 +256,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"); }