Skip to content

Commit

Permalink
jacd.c: Reformat help/usage output to be compatible with help2man.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Gerasiov <[email protected]>

Gbp-Pq: Name 0019-jacd.c-Reformat-help-usage-output-to-be-compatible-w.patch
  • Loading branch information
gerasiov committed Apr 27, 2020
1 parent 89c66ab commit 506252e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions j1939acd.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
#include "libj1939.h"

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"
"\n"
"Options:\n"
" -v, --verbose Increase verbosity" "\n"
" -r, --range=RANGE Ranges of source addresses" "\n"
" e.g. 80,50-100,200-210 (defaults to 0-253)" "\n"
Expand All @@ -44,6 +44,8 @@ static const char help_msg[] =
"\n"
"Example:" "\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
Expand Down

0 comments on commit 506252e

Please sign in to comment.