X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_bp.c;h=b59f16dc08e82fe8b8ed5b719a1c28272700fcda;hb=8bad63a0394e7f76f344e065cc90327c099eae8e;hp=1926fbb2de9e81bfcc53dc62aa5be8375fe6d5e1;hpb=882f335739b978d1c55be2faeed077f315afe5d7;p=urcu.git diff --git a/tests/test_urcu_bp.c b/tests/test_urcu_bp.c index 1926fbb..b59f16d 100644 --- a/tests/test_urcu_bp.c +++ b/tests/test_urcu_bp.c @@ -261,15 +261,17 @@ void *thr_writer(void *_count) 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"); }