]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
logger: be more precise about --port description
authorKarel Zak <kzak@redhat.com>
Tue, 21 Jun 2016 11:32:14 +0000 (13:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 21 Jun 2016 11:32:14 +0000 (13:32 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/logger.c

index b01538b65700ff8c180042a6f2d2054ec3d25a55..9f2940cb289196076ddf103133b6ba6438c5d118 100644 (file)
@@ -1001,7 +1001,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
        fputs(_(" -S, --size <size>        maximum size for a single message\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(_(" -P, --port <port>        use this port for UDP or TCP connection\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);