]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
logger: do not show arguments of --socket-errors as optional in --help
authorBenno Schulenberg <bensberg@telfort.nl>
Mon, 27 Jan 2025 11:08:25 +0000 (12:08 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Jan 2025 12:18:41 +0000 (13:18 +0100)
Also, show them without angular brackets, as they are literal values.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
misc-utils/logger.c

index f696287d7a6b8b21c57cc1afe42962a70913e0c7..bcdff0614d4ce8630cf3e6c6deb65d64fa927c2d 100644 (file)
@@ -1101,7 +1101,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("     --sd-param <data>    rfc5424 structured data name=value\n"), out);
        fputs(_("     --msgid <msgid>      set rfc5424 message id field\n"), out);
        fputs(_(" -u, --socket <socket>    write to this Unix socket\n"), out);
-       fputs(_("     --socket-errors[=<on|off|auto>]\n"
+       fputs(_("     --socket-errors on|off|auto\n"
                "                          print connection errors when using Unix sockets\n"), out);
 #ifdef HAVE_LIBSYSTEMD
        fputs(_("     --journald[=<file>]  write journald entry\n"), out);