summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-01-04 11:45:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-01-04 11:45:02 +0000
commit58a87236e33f263fbdff59eae61ea510bade4ad9 (patch)
treed74883ca8e69c6d838331a53fafb1b18b190382b /sys/arch/i386
parentf0b6a85bbe58c55c5205bea150c90ef2441b98e6 (diff)
pretty
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/scon/scon.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/scon/scon.c b/sys/arch/i386/isa/pcvt/Util/scon/scon.c
index c6ec1056a3f..94b797811e6 100644
--- a/sys/arch/i386/isa/pcvt/Util/scon/scon.c
+++ b/sys/arch/i386/isa/pcvt/Util/scon/scon.c
@@ -536,9 +536,8 @@ success:
void usage()
{
- fprintf(stderr,"\nscon - screen control utility for the pcvt video driver\n");
- fprintf(stderr,"usage: scon -a -l -m -v -c [n] -d [dev] -f [on|off] -V -H -s [n]\n");
- fprintf(stderr,"usage: scon -p [default | list | i,r,g,b] | -t [sec] | -1 | -8\n");
+ fprintf(stderr,"usage: scon [-almvVH18] [-c n] [-d dev] [-f [on|off] [-s n]\n");
+ fprintf(stderr," [-p [default | list | i,r,g,b]] | [-t sec]\n");
fprintf(stderr," -a list video adaptor type (MDA,CGA,EGA or VGA)\n");
fprintf(stderr," -c <screen no> switch current virtual screen to <screen no>\n");
fprintf(stderr," -d <device> set parameters(-V|-H|-s) for virtual device\n");
@@ -556,7 +555,6 @@ void usage()
fprintf(stderr," -8 set 80 columns mode\n");
fprintf(stderr," -v verbose mode\n");
fprintf(stderr," -V set pure VT220 emulation for a virtual screen\n");
- fprintf(stderr," -? display help (this message)\n\n");
exit(1);
}
@@ -694,7 +692,7 @@ int fd;
exit(1);
}
- printf( "\nVideo Adaptor Type = ");
+ printf( "Video Adaptor Type = ");
switch(screeninfo.adaptor_type)
{
@@ -788,7 +786,7 @@ int fd;
printf( "Force 24 Lines = %s",
screeninfo.force_24lines ? "Yes" : "No");
- printf("\n\n");
+ printf("\n");
}
static const char *findname(unsigned idx)