summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-07-10 03:37:42 +0000
committerdd <dd@FreeBSD.org>2002-07-10 03:37:42 +0000
commitd7b7ec4cf0f431d162b576f9c8d1e995a24dcb23 (patch)
treec0a76f8292d93d133b1f8d626f1510910c90bc0d /usr.sbin/vidcontrol
parent3e96616fd4d65cc20b319ecfc987377952395e83 (diff)
downloadFreeBSD-src-d7b7ec4cf0f431d162b576f9c8d1e995a24dcb23.zip
FreeBSD-src-d7b7ec4cf0f431d162b576f9c8d1e995a24dcb23.tar.gz
Deuglify the usage message by making it look more like the synopsis in
the manual page.
Diffstat (limited to 'usr.sbin/vidcontrol')
-rw-r--r--usr.sbin/vidcontrol/vidcontrol.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c
index 5f0d018..c56a9ec 100644
--- a/usr.sbin/vidcontrol/vidcontrol.c
+++ b/usr.sbin/vidcontrol/vidcontrol.c
@@ -72,11 +72,12 @@ struct vid_info info;
static void
usage()
{
- fprintf(stderr, "%s\n%s\n%s\n%s\n",
+ fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
"usage: vidcontrol [-CdLPpx] [-b color] [-c appearance] [-f [size] file]",
" [-g geometry] [-h size] [-i adapter | mode] [-l screen_map]",
-" [-m on | off] [-M char] [-r foreground background] [-s num]",
-" [-S on | off] [-t N | off] [mode] [foreground [background]] [show]");
+" [-M char] [-m on | off] [-r foreground background]",
+" [-S on | off] [-s number] [-t N | off] [mode]",
+" [foreground [background]] [show]");
exit(1);
}
OpenPOWER on IntegriCloud