Deuglify the usage message by making it look more like the synopsis in

the manual page.
This commit is contained in:
Dima Dorfman 2002-07-10 03:37:42 +00:00
parent b471ed9e9d
commit 5ec065ee15

View File

@ -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);
}