summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-02-25 08:39:03 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-02-25 08:39:03 +0000
commit6f96585c9df4243ccf9c1dc2d8e1617dcbf5fb4b (patch)
treea5a35a2dee90abfc2fa45c0d92fa13f8a8756f1c /sbin/sysctl/sysctl.c
parente9262ddb4e3598829a2f9717fbdf6e89e868a2bc (diff)
note that -w is optional and adjust accordingly;
remove -w from EXAMPLES; diffs from Paul de Weerd; ok deraadt@
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r--sbin/sysctl/sysctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index be00a997f1c..7ab606e27a2 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.110 2004/02/24 21:45:01 tedu Exp $ */
+/* $OpenBSD: sysctl.c,v 1.111 2004/02/25 08:39:02 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.110 2004/02/24 21:45:01 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.111 2004/02/25 08:39:02 jmc Exp $";
#endif
#endif /* not lint */
@@ -2187,7 +2187,7 @@ usage(void)
{
(void)fprintf(stderr, "usage:\t%s\n\t%s\n\t%s\n",
- "sysctl [-n] variable ...", "sysctl [-nq] -w variable=value ...",
- "sysctl -aA [-n]");
+ "sysctl [-n] variable ...", "sysctl [-nqw] variable=value ...",
+ "sysctl [-n] -Aa");
exit(1);
}