summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2008-02-16 22:06:11 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2008-02-16 22:06:11 +0000
commit279a6fb8c9412e748f3783d2bbb91449841a5971 (patch)
treee9a4ffbafaa4b7a1ae74f2c9d58cac93943760da
parent3360e8c6be7db67d41e44cabff6a0fe5420ec05c (diff)
sort flags in both synopsis and usage
ok reyk@
-rw-r--r--usr.sbin/snmpd/snmpd.810
-rw-r--r--usr.sbin/snmpd/snmpd.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/snmpd/snmpd.8 b/usr.sbin/snmpd/snmpd.8
index a84cecc9e34..236b521151c 100644
--- a/usr.sbin/snmpd/snmpd.8
+++ b/usr.sbin/snmpd/snmpd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: snmpd.8,v 1.5 2008/01/31 19:40:38 jmc Exp $
+.\" $OpenBSD: snmpd.8,v 1.6 2008/02/16 22:06:10 sobrado Exp $
.\"
.\" Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 31 2008 $
+.Dd $Mdocdate: February 16 2008 $
.Dt SNMPD 8
.Os
.Sh NAME
@@ -22,7 +22,7 @@
.Nd Simple Network Management Protocol Daemon
.Sh SYNOPSIS
.Nm snmpd
-.Op Fl dnNv
+.Op Fl dNnv
.Oo Xo
.Fl D Ar macro Ns = Ns Ar value Oc
.Xc
@@ -50,11 +50,11 @@ Use
.Ar file
as the configuration file, instead of the default
.Pa /etc/snmpd.conf .
+.It Fl N
+Show numeric OID values instead of their symbolic names.
.It Fl n
Configtest mode.
Only check the configuration file for validity.
-.It Fl N
-Show numeric OID values instead of their symbolic names.
.It Fl v
Produce more verbose output.
.El
diff --git a/usr.sbin/snmpd/snmpd.c b/usr.sbin/snmpd/snmpd.c
index 1d61bc7f7d0..6ede71ca0af 100644
--- a/usr.sbin/snmpd/snmpd.c
+++ b/usr.sbin/snmpd/snmpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpd.c,v 1.4 2008/01/16 19:36:06 reyk Exp $ */
+/* $OpenBSD: snmpd.c,v 1.5 2008/02/16 22:06:10 sobrado Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -84,7 +84,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "%s [-dnNv] [-D macro=value] [-f file]\n", __progname);
+ fprintf(stderr, "%s [-dNnv] [-D macro=value] [-f file]\n", __progname);
exit(1);
}