groff-commit
[Top][All Lists]
Advanced

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

[groff] 10/122: [man pages]: Document --{help,version} tersely.


From: G. Branden Robinson
Subject: [groff] 10/122: [man pages]: Document --{help,version} tersely.
Date: Wed, 11 Nov 2020 02:59:04 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 40ca8b58fca946dc51b0ddecdc3433e629c46512
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Nov 7 16:46:39 2020 +1100

    [man pages]: Document --{help,version} tersely.
    
    * contrib/eqn2graph/eqn2graph.1.man (Options):
    * contrib/grap2graph/grap2graph.1.man (Options):
    * contrib/pic2graph/pic2graph.1.man (Options):
    * src/utils/hpftodit/hpftodit.1.man (Options):
      Describe --help and --version in a brief dedicated paragraph, as in
      our other man pages.
---
 contrib/eqn2graph/eqn2graph.1.man   | 24 +++++++++++-------------
 contrib/grap2graph/grap2graph.1.man | 24 +++++++++++-------------
 contrib/pic2graph/pic2graph.1.man   | 25 +++++++++++--------------
 src/utils/hpftodit/hpftodit.1.man   | 16 ++++++++++------
 4 files changed, 43 insertions(+), 46 deletions(-)

diff --git a/contrib/eqn2graph/eqn2graph.1.man 
b/contrib/eqn2graph/eqn2graph.1.man
index 8ba00e4..c592781 100644
--- a/contrib/eqn2graph/eqn2graph.1.man
+++ b/contrib/eqn2graph/eqn2graph.1.man
@@ -94,8 +94,18 @@ pixels.
 .SH Options
 .\" ====================================================================
 .
+.B \-\-help
+displays a usage message,
+while
+.B \-v
+and
+.B \-\-version
+show version information;
+all exit afterward.
+.
+.
 .TP
-.BI "\-format " output-format
+.BI \-format\~ output-format
 Write the image in
 .IR output-format ,
 which must be understood by
@@ -103,18 +113,6 @@ which must be understood by
 the default is PNG.
 .
 .
-.TP
-.B \-\-help
-Display a usage message and exit.
-.
-.
-.TP
-.B \-v
-.TQ
-.B \-\-version
-Display version information and exit.
-.
-.
 .\" ====================================================================
 .SH Environment
 .\" ====================================================================
diff --git a/contrib/grap2graph/grap2graph.1.man 
b/contrib/grap2graph/grap2graph.1.man
index ace7c3d..d8ab8b3 100644
--- a/contrib/grap2graph/grap2graph.1.man
+++ b/contrib/grap2graph/grap2graph.1.man
@@ -95,8 +95,18 @@ pixels.
 .SH Options
 .\" ====================================================================
 .
+.B \-\-help
+displays a usage message,
+while
+.B \-v
+and
+.B \-\-version
+show version information;
+all exit afterward.
+.
+.
 .TP
-.BI "\-format " output-format
+.BI \-format\~ output-format
 Write the image in
 .IR output-format ,
 which must be understood by
@@ -105,11 +115,6 @@ the default is PNG.
 .
 .
 .TP
-.B \-\-help
-Display a usage message and exit.
-.
-.
-.TP
 .B \-unsafe
 Run
 .I groff
@@ -124,13 +129,6 @@ The
 default is to forbid this.
 .
 .
-.TP
-.B \-v
-.TQ
-.B \-\-version
-Display version information and exit.
-.
-.
 .\" ====================================================================
 .SH Environment
 .\" ====================================================================
diff --git a/contrib/pic2graph/pic2graph.1.man 
b/contrib/pic2graph/pic2graph.1.man
index 49ad426..dbc36b2 100644
--- a/contrib/pic2graph/pic2graph.1.man
+++ b/contrib/pic2graph/pic2graph.1.man
@@ -101,8 +101,17 @@ pixels.
 .SH Options
 .\" ====================================================================
 .
+.B \-\-help
+displays a usage message,
+while
+.B \-v
+and
+.B \-\-version
+show version information;
+all exit afterward.
+.
 .TP
-.BI "\-eqn " delimiters
+.BI \-eqn\~ delimiters
 Use
 .I delimiters
 as the opening and closing
@@ -120,7 +129,7 @@ processing.
 .
 .
 .TP
-.BI "\-format " output-format
+.BI \-format\~ output-format
 Write the image in
 .IR output-format ,
 which must be understood by
@@ -129,11 +138,6 @@ the default is PNG.
 .
 .
 .TP
-.B \-\-help
-Display a usage message and exit.
-.
-.
-.TP
 .B \-unsafe
 Run
 .I groff
@@ -148,13 +152,6 @@ The
 default is to forbid this.
 .
 .
-.TP
-.B \-v
-.TQ
-.B \-\-version
-Display version information and exit.
-.
-.
 .\" ====================================================================
 .SH Environment
 .\" ====================================================================
diff --git a/src/utils/hpftodit/hpftodit.1.man 
b/src/utils/hpftodit/hpftodit.1.man
index 989fe79..23a47e1 100644
--- a/src/utils/hpftodit/hpftodit.1.man
+++ b/src/utils/hpftodit/hpftodit.1.man
@@ -230,6 +230,16 @@ for each character
 .SH Options
 .\" ====================================================================
 .
+.B \-\-help
+displays a usage message,
+while
+.B \-v
+and
+.B \-\-version
+show version information;
+all exit afterward.
+.
+.
 .TP
 .B \-a
 Include characters in the TFM file that are not included in
@@ -381,12 +391,6 @@ With the
 option,
 the search order is reversed.
 .
-.TP
-.B \-v
-Print the
-.B hpftodit
-version number and exit.
-.
 .
 .\" ====================================================================
 .SH Files



reply via email to

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