git: df777aeb9813 - main - vtfontcvt: correct usage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Jul 2022 17:25:02 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=df777aeb9813cc37883fb6d4e1a4d502254b3193
commit df777aeb9813cc37883fb6d4e1a4d502254b3193
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-07-18 17:21:22 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-07-18 17:24:29 +0000
vtfontcvt: correct usage
Commit e7fd9688ea97 changed vtfontcvt's command line parsing, but did
not correctly update the usage (it omitted the new -o flag).
Fixes: e7fd9688ea97 ("Move font related data structured to...")
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
---
usr.bin/vtfontcvt/vtfontcvt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.bin/vtfontcvt/vtfontcvt.c b/usr.bin/vtfontcvt/vtfontcvt.c
index d236ff6a3e2f..ba580d863149 100644
--- a/usr.bin/vtfontcvt/vtfontcvt.c
+++ b/usr.bin/vtfontcvt/vtfontcvt.c
@@ -180,8 +180,8 @@ usage(void)
{
(void)fprintf(stderr, "usage: vtfontcvt "
- "[-n] [-f font|source|compressed-source] [-w width] "
- "[-h height]\n\t[-v] normal.bdf [bold.bdf] out.fnt\n");
+ "[-n] [-f font|source|compressed-source] [-w width] [-h height]\n"
+ "\t[-v] -o output_file normal.bdf [bold.bdf]\n");
exit(1);
}