From: Karel Zak Date: Mon, 26 Jan 2015 10:26:40 +0000 (+0100) Subject: logger: improve usage() X-Git-Tag: v2.26-rc2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0e875ffd4197ade0c907c89466b58fbc3f745e5;p=thirdparty%2Futil-linux.git logger: improve usage() Signed-off-by: Karel Zak --- diff --git a/misc-utils/logger.c b/misc-utils/logger.c index 57effb9188..5fbf148eb5 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -514,20 +514,20 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fputs(_("Enter messages into the system log.\n"), out); fputs(USAGE_OPTIONS, out); - fputs(_(" -i, --id[=] log (default is PID)\n"), out); - fputs(_(" -f, --file log the contents of this file\n"), out); - fputs(_(" -p, --priority mark given message with this priority\n"), out); - fputs(_(" --prio-prefix look for a prefix on every line read from stdin\n"), out); - fputs(_(" -s, --stderr output message to standard error as well\n"), out); - fputs(_(" -t, --tag mark every line with this tag\n"), out); - fputs(_(" -n, --server write to this remote syslog server\n"), out); - fputs(_(" -P, --port use this UDP port\n"), out); - fputs(_(" -T, --tcp use TCP only\n"), out); - fputs(_(" -d, --udp use UDP only\n"), out); - fputs(_(" --rfc3164 use the obsolete BSD syslog protocol\n"), out); - fputs(_(" --rfc5424[=] use the syslog protocol (the default);\n" - " can be notime, or notq, and/or nohost\n"), out); - fputs(_(" -u, --socket write to this Unix socket\n"), out); + fputs(_(" -i, --id[=] log (default is PID)\n"), out); + fputs(_(" -f, --file log the contents of this file\n"), out); + fputs(_(" -p, --priority mark given message with this priority\n"), out); + fputs(_(" --prio-prefix look for a prefix on every line read from stdin\n"), out); + fputs(_(" -s, --stderr output message to standard error as well\n"), out); + fputs(_(" -t, --tag mark every line with this tag\n"), out); + fputs(_(" -n, --server write to this remote syslog server\n"), out); + fputs(_(" -P, --port use this UDP port\n"), out); + fputs(_(" -T, --tcp use TCP only\n"), out); + fputs(_(" -d, --udp use UDP only\n"), out); + fputs(_(" --rfc3164 use the obsolete BSD syslog protocol\n"), out); + fputs(_(" --rfc5424[=] use the syslog protocol (the default);\n" + " can be notime, or notq, and/or nohost\n"), out); + fputs(_(" -u, --socket write to this Unix socket\n"), out); #ifdef HAVE_LIBSYSTEMD fputs(_(" --journald[=] write journald entry\n"), out); #endif