diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/wsconsctl/wsconsctl.8 | 8 | ||||
-rw-r--r-- | sbin/wsconsctl/wsconsctl.c | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8 index 1a56bee8bdc..dc57dd404ef 100644 --- a/sbin/wsconsctl/wsconsctl.8 +++ b/sbin/wsconsctl/wsconsctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wsconsctl.8,v 1.17 2004/06/23 07:37:23 david Exp $ +.\" $OpenBSD: wsconsctl.8,v 1.18 2004/07/30 23:28:23 jmc Exp $ .\" $NetBSD: wsconsctl.8,v 1.5 1999/09/12 18:47:11 kleink Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -50,10 +50,10 @@ .Ar name ... .Nm wsconsctl .Op Fl n -.Ar name=value ... +.Ar name Ns = Ns Ar value ... .Nm wsconsctl .Op Fl n -.Ar name+=value ... +.Ar name Ns += Ns Ar value ... .Sh DESCRIPTION The .Nm @@ -68,7 +68,7 @@ The options are as follows: Print all device variables and their current values. .It Fl n Suppress printing of the variable name in the output. -.It Ar name=value +.It Ar name Ns = Ns Ar value Attempt to set the specified variable .Ar name to diff --git a/sbin/wsconsctl/wsconsctl.c b/sbin/wsconsctl/wsconsctl.c index 89c5908638d..34ae203520c 100644 --- a/sbin/wsconsctl/wsconsctl.c +++ b/sbin/wsconsctl/wsconsctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsctl.c,v 1.14 2004/06/23 07:37:23 david Exp $ */ +/* $OpenBSD: wsconsctl.c,v 1.15 2004/07/30 23:28:23 jmc Exp $ */ /* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */ /*- @@ -82,10 +82,11 @@ usage(char *msg) fprintf(stderr, "%s: %s\n", __progname, msg); fprintf(stderr, - "usage: %s [-n] name ...\n" + "usage: %s [-n] -a\n" + " %s [-n] name ...\n" " %s [-n] name=value ...\n" - " %s [-n] -a\n", __progname, - __progname, __progname); + " %s [-n] name+=value ...\n", __progname, + __progname, __progname, __progname); exit(1); } |