--print-buffer-syncdelay, lib/cobalt/init.c:cobalt_help()
Greetings,
I had a dev complain about losing stdio output in a Xenomai app, and had never looked at rt_printf() and friends before. I had problems attempting to use --print-buffer-syncdelay=1 to reduce the delay to 1(ms), I found that my programs started complaining about an invalid switch. Found that cobalt_help() was out of sync with the actual switch name definition --print-sync-delay.
Here's a lame attempt at a patch.
Regards,
Steve
------------------------------------------------------------------------
lib/cobalt:
------------------------------------------------------------------------
init.c 2019-05-02 11:16:07.894454047 -0500 renamed from init.c 2018-06-15 10:26:19.692062099 -0500 +0 -0
@@ -349,7 +349,7 @@ fprintf(stderr, "--main-prio=<prio> main thread
priority\n");
fprintf(stderr, "--print-buffer-size=<bytes> size of a print
relay buffer (16k)\n");
fprintf(stderr, "--print-buffer-count=<num> number of print
relay buffers (4)\n");
- fprintf(stderr, "--print-buffer-syncdelay=<ms> max delay of output synchronization (100 ms)\n");
+ fprintf(stderr, "--print-sync-delay=<ms> max delay of output synchronization (100 ms)\n");
}
static struct setup_descriptor cobalt_interface = {
------------------------------------------------------------------------