diff options
-rw-r--r-- | sbin/wsconsctl/wsconsctl.8 | 12 | ||||
-rw-r--r-- | sbin/wsconsctl/wsconsctl.c | 7 |
2 files changed, 8 insertions, 11 deletions
diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8 index 631497d4732..bb706026154 100644 --- a/sbin/wsconsctl/wsconsctl.8 +++ b/sbin/wsconsctl/wsconsctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wsconsctl.8,v 1.23 2008/08/04 07:32:51 sobrado Exp $ +.\" $OpenBSD: wsconsctl.8,v 1.24 2017/04/06 17:33:39 jmc Exp $ .\" $NetBSD: wsconsctl.8,v 1.5 1999/09/12 18:47:11 kleink Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: August 4 2008 $ +.Dd $Mdocdate: April 6 2017 $ .Dt WSCONSCTL 8 .Os .Sh NAME @@ -45,10 +45,6 @@ .Op Fl n .Op Fl f Ar file .Ar name Ns = Ns Ar value ... -.Nm wsconsctl -.Op Fl n -.Op Fl f Ar file -.Ar name Ns += Ns Ar value ... .Sh DESCRIPTION The .Nm @@ -77,7 +73,9 @@ The value can be specified as either an absolute, by using the symbol, or as a relative value, by using the .Ql += -symbol. +or +.Ql -= +symbols. See the .Sx EXAMPLES section for more details. diff --git a/sbin/wsconsctl/wsconsctl.c b/sbin/wsconsctl/wsconsctl.c index 38b13bdf78e..d821f19df44 100644 --- a/sbin/wsconsctl/wsconsctl.c +++ b/sbin/wsconsctl/wsconsctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsctl.c,v 1.29 2015/05/08 19:12:51 miod Exp $ */ +/* $OpenBSD: wsconsctl.c,v 1.30 2017/04/06 17:33:39 jmc Exp $ */ /* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */ /*- @@ -71,9 +71,8 @@ usage(void) fprintf(stderr, "usage: %s [-an]\n" " %s [-n] [-f file] name ...\n" - " %s [-n] [-f file] name=value ...\n" - " %s [-n] [-f file] name+=value ...\n", - __progname, __progname, __progname, __progname); + " %s [-n] [-f file] name=value ...\n", + __progname, __progname, __progname); exit(1); } |