freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master 20c1b33: Improve help for command line option `


From: Werner LEMBERG
Subject: [freetype2-demos] master 20c1b33: Improve help for command line option `-d'.
Date: Fri, 21 Aug 2020 12:24:55 -0400 (EDT)

branch: master
commit 20c1b33ed0751227827dd52b7d6ca7baf9174512
Author: Werner Lemberg <wl@gnu.org>
Commit: Werner Lemberg <wl@gnu.org>

    Improve help for command line option `-d'.
    
    * src/ftgrid.c, src/ftstring.c, src/ftview.c (usage): Depth value is
    optional.
    
    * man/ftgrid.1, man/ftstring.1, man/ftview.1: Updated.
---
 ChangeLog      | 9 +++++++++
 man/ftgrid.1   | 6 +++---
 man/ftstring.1 | 6 +++---
 man/ftview.1   | 6 +++---
 src/ftgrid.c   | 3 ++-
 src/ftstring.c | 3 ++-
 src/ftview.c   | 3 ++-
 7 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index aa10bb9..8cf3620 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2020-08-21  Werner Lemberg  <wl@gnu.org>
 
+       Improve help for command line option `-d'.
+
+       * src/ftgrid.c, src/ftstring.c, src/ftview.c (usage): Depth value is
+       optional.
+
+       * man/ftgrid.1, man/ftstring.1, man/ftview.1: Updated.
+
+2020-08-21  Werner Lemberg  <wl@gnu.org>
+
        * src/ftcommon.c (FTDemo_Version): Correctly call `strbuf_init'.
 
 2020-07-27  Alexei Podtelezhnikov  <apodtele@gmail.com>
diff --git a/man/ftgrid.1 b/man/ftgrid.1
index 5461b01..be4706c 100644
--- a/man/ftgrid.1
+++ b/man/ftgrid.1
@@ -42,12 +42,12 @@ This program is part of the FreeType demos package.
 .SH OPTIONS
 .
 .TP
-.BI \-d \ W x H x D
+.BI \-d \ W x H \fR[\fPx D\fR]\fP
 Set the window width to
 .I W
-pixels, the height to
+px, the height to
 .I H
-pixels, and the depth to
+px, and optionally the depth to
 .I D
 bpp (default: 640x480x24).
 .
diff --git a/man/ftstring.1 b/man/ftstring.1
index 5caa85f..27b1bf2 100644
--- a/man/ftstring.1
+++ b/man/ftstring.1
@@ -44,12 +44,12 @@ This program is part of the FreeType demos package.
 .SH OPTIONS
 .
 .TP
-.BI \-d \ W x H x D
+.BI \-d \ W x H \fR[\fPx D\fR]\fP
 Set the window width to
 .I W
-pixels, the height to
+px, the height to
 .I H
-pixels, and the depth to
+px, and optionally the depth to
 .I D
 bpp (default: 640x480x24).
 .
diff --git a/man/ftview.1 b/man/ftview.1
index 7f051e4..7a7a841 100644
--- a/man/ftview.1
+++ b/man/ftview.1
@@ -37,12 +37,12 @@ This program is part of the FreeType demos package.
 .SH OPTIONS
 .
 .TP
-.BI \-d \ W x H x D
+.BI \-d \ W x H \fR[\fPx D\fR]\fP
 Set the window width to
 .I W
-pixels, the height to
+px, the height to
 .I H
-pixels, and the depth to
+px, and optionally the depth to
 .I D
 bpp (default: 640x480x24).
 .
diff --git a/src/ftgrid.c b/src/ftgrid.c
index 455f295..d5cea5a 100644
--- a/src/ftgrid.c
+++ b/src/ftgrid.c
@@ -1755,7 +1755,8 @@
       "            `.afm' or `.pfm').\n"
       "\n" );
     fprintf( stderr,
-      "  -d WxHxD  Set the window width, height, and color depth\n"
+      "  -d WxH[xD]\n"
+      "            Set the window width, height, and color depth\n"
       "            (default: 640x480x24).\n"
       "  -k keys   Emulate sequence of keystrokes upon start-up.\n"
       "            If the keys contain `q', use batch mode.\n"
diff --git a/src/ftstring.c b/src/ftstring.c
index 65d495d..97fb79a 100644
--- a/src/ftstring.c
+++ b/src/ftstring.c
@@ -672,7 +672,8 @@
       "            `.afm' or `.pfm').\n"
       "\n" );
     fprintf( stderr,
-      "  -d WxHxD  Set the window width, height, and color depth\n"
+      "  -d WxH[xD]\n"
+      "            Set the window width, height, and color depth\n"
       "            (default: 640x480x24).\n"
       "  -k keys   Emulate sequence of keystrokes upon start-up.\n"
       "            If the keys contain `q', use batch mode.\n"
diff --git a/src/ftview.c b/src/ftview.c
index d794650..e420365 100644
--- a/src/ftview.c
+++ b/src/ftview.c
@@ -1798,7 +1798,8 @@
       "            `.afm' or `.pfm').\n"
       "\n" );
     fprintf( stderr,
-      "  -d WxHxD  Set the window width, height, and color depth\n"
+      "  -d WxH[xD]\n"
+      "            Set the window width, height, and color depth\n"
       "            (default: 640x480x24).\n"
       "  -k keys   Emulate sequence of keystrokes upon start-up.\n"
       "            If the keys contain `q', use batch mode.\n"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]