From 0e51a1eed828f24530a66b9969d65d939a7b1ca9 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 15 Jan 2018 06:57:59 +0100 Subject: [PATCH] logit: Hard code program name and clarify distribution scope Signed-off-by: Joachim Nilsson --- src/logit.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/logit.c b/src/logit.c index f79f5c1f..e4961d2e 100644 --- a/src/logit.c +++ b/src/logit.c @@ -185,7 +185,7 @@ static int parse_prio(char *arg, int *f, int *l) static int usage(int code) { - fprintf(stderr, "Usage: %s [OPTIONS] [MESSAGE]\n" + fprintf(stderr, "Usage: logit [OPTIONS] [MESSAGE]\n" "\n" "Write MESSAGE (or stdin) to syslog, or file (with logrotate)\n" "\n" @@ -197,9 +197,10 @@ static int usage(int code) " -f FILE File to write log messages to, instead of syslog\n" " -n SIZE Number of bytes before rotating, default: 200 kB\n" " -r NUM Number of rotated files to keep, default: 5\n" - " -v Show program version\n" + " -v Show program version\n" "\n" - "Bug report address: %s\n", PACKAGE, PACKAGE_BUGREPORT); + "This version of logit is distributed as part of Finit.\n" + "Bug report address: %s\n", PACKAGE_BUGREPORT); return code; }