jacd.c: Reformat help/usage output to be compatible with help2man.

Signed-off-by: Alexander Gerasiov <gq@debian.org>

Gbp-Pq: Name 0019-jacd.c-Reformat-help-usage-output-to-be-compatible-w.patch
pull/69/head
Alexander Gerasiov 2018-02-11 19:03:05 +03:00 committed by Alexander Gerasiov
parent 89c66aba5f
commit 506252e9bc
1 changed files with 4 additions and 2 deletions

View File

@ -30,9 +30,9 @@
#include "libj1939.h" #include "libj1939.h"
static const char help_msg[] = static const char help_msg[] =
"j1939acd: An SAE J1939 address claiming daemon" "\n" "jacd: An SAE J1939 address claiming daemon" "\n"
"Usage: j1939acd [options] NAME [INTF]" "\n" "Usage: j1939acd [options] NAME [INTF]" "\n"
"\n" "Options:\n"
" -v, --verbose Increase verbosity" "\n" " -v, --verbose Increase verbosity" "\n"
" -r, --range=RANGE Ranges of source addresses" "\n" " -r, --range=RANGE Ranges of source addresses" "\n"
" e.g. 80,50-100,200-210 (defaults to 0-253)" "\n" " e.g. 80,50-100,200-210 (defaults to 0-253)" "\n"
@ -44,6 +44,8 @@ static const char help_msg[] =
"\n" "\n"
"Example:" "\n" "Example:" "\n"
"j1939acd -r 100,80-120 -c /tmp/1122334455667788.jacd 1122334455667788" "\n" "j1939acd -r 100,80-120 -c /tmp/1122334455667788.jacd 1122334455667788" "\n"
"Examples:" "\n"
"j1939acd -r 100,80-120 -c /tmp/1122334455667788.jacd 1122334455667788" "\n"
; ;
#ifdef _GNU_SOURCE #ifdef _GNU_SOURCE