summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2013-10-16 21:15:34 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2013-10-16 21:15:34 +0000
commitdc1f459e68b81f6a329391b74ab2f9632cd70938 (patch)
tree67b3be2b9c359bfbe388c98e32a7bdd312cfccf8 /usr.sbin/snmpd
parenteb77c55a3a340ca975ecf11f5b24bafe3df240c4 (diff)
no more -r; ok blambert
Diffstat (limited to 'usr.sbin/snmpd')
-rw-r--r--usr.sbin/snmpd/snmpd.83
-rw-r--r--usr.sbin/snmpd/snmpd.c6
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/snmpd/snmpd.8 b/usr.sbin/snmpd/snmpd.8
index 42c69af1bb9..b90dfb2e023 100644
--- a/usr.sbin/snmpd/snmpd.8
+++ b/usr.sbin/snmpd/snmpd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: snmpd.8,v 1.19 2013/10/16 16:05:03 blambert Exp $
+.\" $OpenBSD: snmpd.8,v 1.20 2013/10/16 21:15:33 jmc Exp $
.\"
.\" Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -25,7 +25,6 @@
.Op Fl dNnv
.Op Fl D Ar macro Ns = Ns Ar value
.Op Fl f Ar file
-.Op Fl r Ar path
.Sh DESCRIPTION
.Nm
is a daemon which implements the SNMP protocol.
diff --git a/usr.sbin/snmpd/snmpd.c b/usr.sbin/snmpd/snmpd.c
index ef5f5c1b109..2392ea67b0e 100644
--- a/usr.sbin/snmpd/snmpd.c
+++ b/usr.sbin/snmpd/snmpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpd.c,v 1.16 2013/10/16 16:05:03 blambert Exp $ */
+/* $OpenBSD: snmpd.c,v 1.17 2013/10/16 21:15:33 jmc Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@ -87,7 +87,7 @@ usage(void)
extern char *__progname;
fprintf(stderr, "usage: %s [-dNnv] [-D macro=value] "
- "[-f file] [-r path]\n", __progname);
+ "[-f file]\n", __progname);
exit(1);
}
@@ -109,7 +109,7 @@ main(int argc, char *argv[])
log_init(1); /* log to stderr until daemonized */
- while ((c = getopt(argc, argv, "dD:nNf:r:v")) != -1) {
+ while ((c = getopt(argc, argv, "dD:nNf:v")) != -1) {
switch (c) {
case 'd':
debug = 1;