diff options
author | emaste <emaste@FreeBSD.org> | 2015-08-04 15:15:06 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-08-04 15:15:06 +0000 |
commit | e6c899bb957d980ee3f4eee6be3e7c8e2b35eb34 (patch) | |
tree | 50db2b03be5edd08e19daf636e560bf56dfc6036 /usr.sbin/vidcontrol | |
parent | 1a0e1b3909f2d3a118b0106e05f1486afdbeb19f (diff) | |
download | FreeBSD-src-e6c899bb957d980ee3f4eee6be3e7c8e2b35eb34.zip FreeBSD-src-e6c899bb957d980ee3f4eee6be3e7c8e2b35eb34.tar.gz |
MFC r281581: vidcontrol: make size argument optional again for syscons
r273544 (MFC in r273921) changed the -f option allow no arguments in vt
mode (used to reset the font back to the default), but broke the
optionality of the size argument for syscons. Drop the required argument
from syscons' optstring for -f so the optional argument handler works
the same way for both syscons and vt.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/vidcontrol')
-rw-r--r-- | usr.sbin/vidcontrol/vidcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c index 3001f69..e1981f3 100644 --- a/usr.sbin/vidcontrol/vidcontrol.c +++ b/usr.sbin/vidcontrol/vidcontrol.c @@ -1343,7 +1343,7 @@ main(int argc, char **argv) if (vt4_mode) opts = "b:Cc:fg:h:Hi:M:m:pPr:S:s:T:t:x"; else - opts = "b:Cc:df:g:h:Hi:l:LM:m:pPr:S:s:T:t:x"; + opts = "b:Cc:dfg:h:Hi:l:LM:m:pPr:S:s:T:t:x"; while ((opt = getopt(argc, argv, opts)) != -1) switch(opt) { |