X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_defer.c;h=8a6adebb893d955911c42bc76e5860db9fd0035d;hp=9fea8c1f419bd9ff76f3d75d3464296b86d5481a;hb=0663713865a25964c2932943c48e59ddf3caecd8;hpb=d89f0c51ed502c4248211eb43292e92a98ffe31b diff --git a/tests/test_urcu_defer.c b/tests/test_urcu_defer.c index 9fea8c1..8a6adeb 100644 --- a/tests/test_urcu_defer.c +++ b/tests/test_urcu_defer.c @@ -288,15 +288,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"); }