I misplaced a newline in the previous commit. Fix this, and move line
breaks in the vt case to the same places that the man(1) puts then in the SYNOPSIS. This was already done for the syscons case. Man pages can't depend on the driver, and the SYNOPSIS is hard-coded for syscons except for -f where it is hard-coded for vt. The usage message reverses this for sc. The only other differences are whitespace and removing -[dL] and -l for vt.
This commit is contained in:
parent
4ff30397f5
commit
eb4fa1ad8c
@ -193,14 +193,15 @@ static void
|
|||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
if (vt4_mode)
|
if (vt4_mode)
|
||||||
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
|
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n",
|
||||||
"usage: vidcontrol [-CHPpx] [-b color] [-c appearance] [-f [[size] file]]",
|
"usage: vidcontrol [-CHPpx] [-b color] [-c appearance] [-f [[size] file]]",
|
||||||
" [-g geometry] [-h size] [-i active | adapter | mode]",
|
" [-g geometry] [-h size] [-i active | adapter | mode]",
|
||||||
" [-M char] [-m on | off] [-r foreground background]",
|
" [-M char] [-m on | off]",
|
||||||
" [-S on | off] [-s number] [-T xterm | cons25] [-t N | off]",
|
" [-r foreground background] [-S on | off] [-s number]",
|
||||||
" [mode] [foreground [background]] [show]");
|
" [-T xterm | cons25] [-t N | off] [mode]",
|
||||||
|
" [foreground [background]] [show]");
|
||||||
else
|
else
|
||||||
fprintf(stderr, "%s\n%s\n%s\n%s\n%s%s\n\n",
|
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n",
|
||||||
"usage: vidcontrol [-CdHLPpx] [-b color] [-c appearance] [-f [size] file]",
|
"usage: vidcontrol [-CdHLPpx] [-b color] [-c appearance] [-f [size] file]",
|
||||||
" [-g geometry] [-h size] [-i active | adapter | mode]",
|
" [-g geometry] [-h size] [-i active | adapter | mode]",
|
||||||
" [-l screen_map] [-M char] [-m on | off]",
|
" [-l screen_map] [-M char] [-m on | off]",
|
||||||
|
Loading…
Reference in New Issue
Block a user