From: Benno Schulenberg Date: Mon, 27 Jan 2025 11:08:25 +0000 (+0100) Subject: logger: do not show arguments of --socket-errors as optional in --help X-Git-Tag: v2.42-start~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=991f5b1f7095b9bf340a90922bd58849da695fb9;p=thirdparty%2Futil-linux.git logger: do not show arguments of --socket-errors as optional in --help Also, show them without angular brackets, as they are literal values. Signed-off-by: Benno Schulenberg --- diff --git a/misc-utils/logger.c b/misc-utils/logger.c index f696287d7..bcdff0614 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -1101,7 +1101,7 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" --sd-param rfc5424 structured data name=value\n"), out); fputs(_(" --msgid set rfc5424 message id field\n"), out); fputs(_(" -u, --socket write to this Unix socket\n"), out); - fputs(_(" --socket-errors[=]\n" + fputs(_(" --socket-errors on|off|auto\n" " print connection errors when using Unix sockets\n"), out); #ifdef HAVE_LIBSYSTEMD fputs(_(" --journald[=] write journald entry\n"), out);