diff options
author | 2008-02-16 22:06:10 +0000 | |
---|---|---|
committer | 2008-02-16 22:06:10 +0000 | |
commit | fbb1bffb5d581683d9c9fbb35de9201d6621a721 (patch) | |
tree | 0e18f10d5e4653b3d44c28e301db8fdf482bd30a | |
parent | Remove if_ipackets++ since ieee80211_input() already does that. (diff) | |
download | wireguard-openbsd-fbb1bffb5d581683d9c9fbb35de9201d6621a721.tar.xz wireguard-openbsd-fbb1bffb5d581683d9c9fbb35de9201d6621a721.zip |
sort flags in both synopsis and usage
ok reyk@
-rw-r--r-- | usr.sbin/snmpd/snmpd.8 | 10 | ||||
-rw-r--r-- | usr.sbin/snmpd/snmpd.c | 4 |
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); } |