summaryrefslogtreecommitdiffstats
path: root/misc-utils/logger.c
diff options
context:
space:
mode:
authorKarel Zak2015-01-26 11:26:40 +0100
committerKarel Zak2015-01-26 11:26:40 +0100
commitd0e875ffd4197ade0c907c89466b58fbc3f745e5 (patch)
tree5ead87d2e60b93b75ed3f204ac2589a9b1e7952d /misc-utils/logger.c
parentdocs: fix two "maybe be" duplications in program comments (diff)
downloadkernel-qcow2-util-linux-d0e875ffd4197ade0c907c89466b58fbc3f745e5.tar.gz
kernel-qcow2-util-linux-d0e875ffd4197ade0c907c89466b58fbc3f745e5.tar.xz
kernel-qcow2-util-linux-d0e875ffd4197ade0c907c89466b58fbc3f745e5.zip
logger: improve usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/logger.c')
-rw-r--r--misc-utils/logger.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/misc-utils/logger.c b/misc-utils/logger.c
index 57effb918..5fbf148eb 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[=<id>] log <id> (default is PID)\n"), out);
- fputs(_(" -f, --file <file> log the contents of this file\n"), out);
- fputs(_(" -p, --priority <prio> 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 <tag> mark every line with this tag\n"), out);
- fputs(_(" -n, --server <name> write to this remote syslog server\n"), out);
- fputs(_(" -P, --port <number> 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[=<cut>] use the syslog protocol (the default);\n"
- " <cut> can be notime, or notq, and/or nohost\n"), out);
- fputs(_(" -u, --socket <socket> write to this Unix socket\n"), out);
+ fputs(_(" -i, --id[=<id>] log <id> (default is PID)\n"), out);
+ fputs(_(" -f, --file <file> log the contents of this file\n"), out);
+ fputs(_(" -p, --priority <prio> 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 <tag> mark every line with this tag\n"), out);
+ fputs(_(" -n, --server <name> write to this remote syslog server\n"), out);
+ fputs(_(" -P, --port <number> 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[=<snip>] use the syslog protocol (the default);\n"
+ " <snip> can be notime, or notq, and/or nohost\n"), out);
+ fputs(_(" -u, --socket <socket> write to this Unix socket\n"), out);
#ifdef HAVE_LIBSYSTEMD
fputs(_(" --journald[=<file>] write journald entry\n"), out);
#endif