FreeBSD/usr.sbin/vidcontrol/vidcontrol.c
/*
 * Print a short usage string describing all options, then exit.
 */
Print a short usage string describing all options, then exit.
Print a short usage string describing all options then exit .
static void
usage(void)
{
	if (vt4_mode)
		fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
"usage: vidcontrol [-CHPpx] [-b color] [-c appearance] [-f [[size] file]]",
"                  [-g geometry] [-h size] [-i active | adapter | mode]",
"                  [-M char] [-m on | off] [-r foreground background]",
"                  [-S on | off] [-s number] [-T xterm | cons25] [-t N | off]",
"                  [mode] [foreground [background]] [show]");
	else
		fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
"usage: vidcontrol [-CdHLPpx] [-b color] [-c appearance] [-f [size] file]",
"                  [-g geometry] [-h size] [-i adapter | mode] [-l screen_map]",
"                  [-M char] [-m on | off] [-r foreground background]",
"                  [-S on | off] [-s number] [-T xterm | cons25] [-t N | off]",
"                  [mode] [foreground [background]] [show]");
	exit(1);
}
static void usage ( void ) { if ( vt4_mode ) fprintf ( stderr , " \n \n \n \n \n " , " " , " " , " " , " " , " " ) ; else fprintf ( stderr , " \n \n \n \n \n " , " " , " " , " " , " " , " " ) ; exit ( 1 ) ; }
Print a short usage string describing all options, then exit.
Print a short usage string describing all options then exit .