diff options
author | ps <ps@FreeBSD.org> | 2000-07-29 04:02:34 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-07-29 04:02:34 +0000 |
commit | b0760261f3200da42148bf5fcd0e1d2db055f930 (patch) | |
tree | 7f29ba77ddc1ed26156d48066713c2ca348478ff | |
parent | 6b1c00b2516e1a518b3c43ef15c0c6f1d3a7044b (diff) | |
download | FreeBSD-src-b0760261f3200da42148bf5fcd0e1d2db055f930.zip FreeBSD-src-b0760261f3200da42148bf5fcd0e1d2db055f930.tar.gz |
Change option -r to -n inline with conventions we use elsewhere.
I guess it serves me right for using a patch directly from Jan
Koum. :)
Requested by: many
-rw-r--r-- | usr.sbin/syslogd/syslogd.8 | 4 | ||||
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8 index 3df1a24..d30cd57 100644 --- a/usr.sbin/syslogd/syslogd.8 +++ b/usr.sbin/syslogd/syslogd.8 @@ -116,12 +116,12 @@ the default is Select the number of minutes between .Dq mark messages; the default is 20 minutes. +.It Fl n +Disable dns query for every request. .It Fl p Specify the pathname of an alternate log socket to be used instead; the default is .Pa /var/run/log . -.It Fl r -Disable dns query for every request. .It Fl l Specify a location where .Nm diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 96a92d1..fed82f2 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -326,12 +326,12 @@ main(argc, argv) case 'm': /* mark interval */ MarkInterval = atoi(optarg) * 60; break; + case 'n': + resolve = 0; + break; case 'p': /* path */ funixn[0] = optarg; break; - case 'r': - resolve = 0; - break; case 's': /* no network mode */ SecureMode++; break; |