]> 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>
Wed, 10 Aug 2016 10:54:09 +0000 (12:54 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/logger.c

index b7b08eb84182565c9bee04cc7cd3133948751cc4..8840d8295745ec42d9c6c6c6061877f73e91a4fd 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);