diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-11-11 15:48:36 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-11-11 15:48:36 +0000 |
commit | b5a550073bf4594452967d66a2849aad02fa6ea0 (patch) | |
tree | 5d809a5f54d824f5bbf297ec3dc7442ef60bb97f /sbin/sysctl/sysctl.c | |
parent | 74fbdd346d378d6e129ddf02d851b4450c1c22bf (diff) |
do not document -w: it is for compat only. just like we did for audioctl,
mixerctl, and wsconsctl.
also move to "name=value", as for the other *ctl apps.
problem spotted by Tim van der Molen, though this might not be the fix
he wanted;
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r-- | sbin/sysctl/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 092058aeb7d..d5f17bcbb52 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.149 2007/06/04 13:17:54 henning Exp $ */ +/* $OpenBSD: sysctl.c,v 1.150 2007/11/11 15:48:35 jmc Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95"; #else -static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.149 2007/06/04 13:17:54 henning Exp $"; +static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.150 2007/11/11 15:48:35 jmc Exp $"; #endif #endif /* not lint */ @@ -2426,7 +2426,7 @@ usage(void) { (void)fprintf(stderr, "usage:\t%s\n\t%s\n\t%s\n", - "sysctl [-n] variable ...", "sysctl [-nqw] variable=value ...", + "sysctl [-n] name ...", "sysctl [-nq] name=value ...", "sysctl [-n] -Aa"); exit(1); } |