From 506252e9bcd0cba6e987facffcb1ba0c788e2b67 Mon Sep 17 00:00:00 2001 From: Alexander Gerasiov Date: Sun, 11 Feb 2018 19:03:05 +0300 Subject: [PATCH] jacd.c: Reformat help/usage output to be compatible with help2man. Signed-off-by: Alexander Gerasiov Gbp-Pq: Name 0019-jacd.c-Reformat-help-usage-output-to-be-compatible-w.patch --- j1939acd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/j1939acd.c b/j1939acd.c index 31bb265..fbef03e 100644 --- a/j1939acd.c +++ b/j1939acd.c @@ -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" @@ -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