From 1342f949001fc88c4b8e4bea8eb003fa421a8c4b Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Mon, 21 May 2007 07:54:18 +0000 Subject: options w/o args come before options which take args; --- sbin/wsconsctl/wsconsctl.8 | 8 ++++---- sbin/wsconsctl/wsconsctl.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8 index 100ec4bfc63..a97bb9aa798 100644 --- a/sbin/wsconsctl/wsconsctl.8 +++ b/sbin/wsconsctl/wsconsctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wsconsctl.8,v 1.19 2007/05/20 15:22:22 robert Exp $ +.\" $OpenBSD: wsconsctl.8,v 1.20 2007/05/21 07:54:17 jmc Exp $ .\" $NetBSD: wsconsctl.8,v 1.5 1999/09/12 18:47:11 kleink Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -46,16 +46,16 @@ .Op Fl n .Fl a .Nm wsconsctl -.Op Fl f Ar file .Op Fl n +.Op Fl f Ar file .Ar name ... .Nm wsconsctl -.Op Fl f Ar file .Op Fl n +.Op Fl f Ar file .Ar name Ns = Ns Ar value ... .Nm wsconsctl -.Op Fl f Ar file .Op Fl n +.Op Fl f Ar file .Ar name Ns += Ns Ar value ... .Sh DESCRIPTION The diff --git a/sbin/wsconsctl/wsconsctl.c b/sbin/wsconsctl/wsconsctl.c index d1e96bde567..91898f00fdd 100644 --- a/sbin/wsconsctl/wsconsctl.c +++ b/sbin/wsconsctl/wsconsctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsctl.c,v 1.18 2007/05/20 15:22:23 robert Exp $ */ +/* $OpenBSD: wsconsctl.c,v 1.19 2007/05/21 07:54:17 jmc Exp $ */ /* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */ /*- @@ -83,9 +83,9 @@ usage(char *msg) fprintf(stderr, "usage: %s [-n] -a\n" - " %s [-f file] [-n] name ...\n" - " %s [-f file] [-n] name=value ...\n" - " %s [-f file] [-n] name+=value ...\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); exit(1); -- cgit v1.2.3