svn commit: r322634 - head/usr.sbin/vidcontrol
Bruce Evans
bde at FreeBSD.org
Thu Aug 17 20:25:52 UTC 2017
Author: bde
Date: Thu Aug 17 20:25:50 2017
New Revision: 322634
URL: https://svnweb.freebsd.org/changeset/base/322634
Log:
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.
Modified:
head/usr.sbin/vidcontrol/vidcontrol.c
Modified: head/usr.sbin/vidcontrol/vidcontrol.c
==============================================================================
--- head/usr.sbin/vidcontrol/vidcontrol.c Thu Aug 17 20:15:20 2017 (r322633)
+++ head/usr.sbin/vidcontrol/vidcontrol.c Thu Aug 17 20:25:50 2017 (r322634)
@@ -193,14 +193,15 @@ static void
usage(void)
{
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]]",
" [-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]");
+" [-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%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]",
" [-g geometry] [-h size] [-i active | adapter | mode]",
" [-l screen_map] [-M char] [-m on | off]",
More information about the svn-src-all
mailing list