diff --git a/src/syslogd.c b/src/syslogd.c index 4b07937..8bfd448 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -201,25 +201,30 @@ int usage(int code) " -6 Force IPv6 only\n" " -A Send to all addresses in DNS A, or AAAA record\n" " -a PEER Allow PEER to log to this syslogd using UDP datagrams. Multiple -a\n" - " options may be specified. The syntax for PEER can be one of:\n" - "\n" + " options may be specified. PEER is one of:\n" " ipaddr[/len][:port] Accept messages from 'ipaddr', which may\n" " be IPv4, or IPv6 if enclosed with '[' and\n" " ']'. The optional port may be a service\n" " name or a port number.\n" - "\n" " domainname[:port] Accept messages where the reverse address\n" " lookup yields 'domainname' for the sender\n" " adress. 'domainname' can contain special\n" " shell-style pattern characters such as '*'\n" - " -b ADDR:SERVICE\n" - " -b :SRV Bind to a specific address and/or port. The address can be specified\n" - " as a hostname and the port as a service name, default syslog/514\n" + "\n" + " -b NAME Bind to a specific address and/or port. Multiple -b options may be\n" + " specified. By default syslogd listens on all interfaces on UDP port\n" + " 514, unless also started with -s, see below. NAME is one of:\n" + " address[:port] The address can be either a hostname or an\n" + " IP address. If an IPv6 address is specified,\n" + " it should be enclosed in '[' and ']'.\n" + " :port The port is either a UDP port number, or a\n" + " service name, default is 'syslog', port 514.\n" + "\n" " -d Enable debug mode\n" " -f FILE Alternate .conf file, default: /etc/syslog.conf\n" " -m SEC Interval between MARK messages in log, 0 to disable, default: 20 min\n" " -n Run in foreground, required when run from a modern init/supervisor\n" - " -P FILE File in which to store the process ID, default: %s\n" + " -P FILE File to store the process ID, default: %s\n" " -p PATH Path to UNIX domain socket, multiple -p create multiple sockets. If\n" " no -p argument is given the default %s is used\n" " -r S[:R] Enable log rotation. The size argument (S) takes k/M/G qualifiers,\n"