From d723574eee3f72b451dc6e56bccf32717f84d135 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 7 Nov 2019 06:47:53 +0100 Subject: [PATCH] logger: Update usage text with missing `-u SOCK` info Signed-off-by: Joachim Nilsson --- src/logger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/logger.c b/src/logger.c index 95f5a54..6b1c77b 100644 --- a/src/logger.c +++ b/src/logger.c @@ -186,6 +186,7 @@ static int usage(int code) " -t TAG Log using the specified tag (defaults to user name)\n" " -s Log to stderr as well as the system log\n" "\n" + " -u SOCK Log to UNIX domain socket `SOCK` instead of default %s\n" " -f FILE Log file to write messages to, instead of syslog daemon\n" " -r S[:R] Enable log file rotation, default: 200 kB \e[4ms\e[0mize, 5 \e[4mr\e[0motations\n" "\n" @@ -193,7 +194,7 @@ static int usage(int code) " -v Show program version\n" "\n" "This version of logger is distributed as part of sysklogd.\n" - "Bug report address: %s\n", PACKAGE_BUGREPORT); + "Bug report address: %s\n", _PATH_LOG, PACKAGE_BUGREPORT); return code; }