Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/wsfontload wsfontload: make -l mode a separate line...
details: https://anonhg.NetBSD.org/src/rev/5154299279dd
branches: trunk
changeset: 378706:5154299279dd
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Apr 24 07:52:07 2021 +0000
description:
wsfontload: make -l mode a separate line in the usage
Document it in the manpage.
diffstat:
usr.sbin/wsfontload/wsfontload.8 | 7 +++++--
usr.sbin/wsfontload/wsfontload.c | 8 +++++---
2 files changed, 10 insertions(+), 5 deletions(-)
diffs (57 lines):
diff -r 40f77dbea287 -r 5154299279dd usr.sbin/wsfontload/wsfontload.8
--- a/usr.sbin/wsfontload/wsfontload.8 Sat Apr 24 07:12:17 2021 +0000
+++ b/usr.sbin/wsfontload/wsfontload.8 Sat Apr 24 07:52:07 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: wsfontload.8,v 1.27 2019/05/30 14:58:51 pgoyette Exp $
+.\" $NetBSD: wsfontload.8,v 1.28 2021/04/24 07:52:07 wiz Exp $
.\"
.\" Copyright (c) 1999, 2001
.\" Matthias Drochner. All rights reserved.
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 30, 2019
+.Dd April 24, 2021
.Dt WSFONTLOAD 8
.Os
.Sh NAME
@@ -39,6 +39,7 @@
.Op Fl N Ar name
.Op Fl w Ar width
.Op Ar fontfile
+.Nm Fl l
.Sh DESCRIPTION
The
.Nm
@@ -91,6 +92,8 @@ Default is
.It Fl h Ar height
Sets the height of a font character in pixels.
Default is 16.
+.It Fl l
+Print a list of available fonts.
.It Fl N Ar name
Specifies a name which can be used later to refer to the font.
If none is given, the
diff -r 40f77dbea287 -r 5154299279dd usr.sbin/wsfontload/wsfontload.c
--- a/usr.sbin/wsfontload/wsfontload.c Sat Apr 24 07:12:17 2021 +0000
+++ b/usr.sbin/wsfontload/wsfontload.c Sat Apr 24 07:52:07 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsfontload.c,v 1.22 2021/04/24 00:49:26 macallan Exp $ */
+/* $NetBSD: wsfontload.c,v 1.23 2021/04/24 07:52:07 wiz Exp $ */
/*
* Copyright (c) 1999
@@ -76,8 +76,10 @@ usage(void)
{
(void)fprintf(stderr,
- "usage: %s [-Bbvl] [-e encoding] [-f wsdev] [-h height]"
- " [-N name] [-w width] [fontfile]\n",
+ "usage: %s [-Bbv] [-e encoding] [-f wsdev] [-h height]"
+ " [-N name] [-w width] [fontfile]\n"
+ " %s -l\n",
+ getprogname(),
getprogname());
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index