groff-commit
[Top][All Lists]
Advanced

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

[groff] 08/08: groff(1): Fix style nit.


From: G. Branden Robinson
Subject: [groff] 08/08: groff(1): Fix style nit.
Date: Sun, 7 Jan 2024 21:16:40 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 05f58038b15771193f448ad85441096f55573f17
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Jan 7 20:00:19 2024 -0600

    groff(1): Fix style nit.
    
    When setting long- and short-form command-line options as paragraph
    tags, list the former first since it can overrun the tag width without
    increasing the page length (the line breaks anyway for the subsequent
    tag).  Prompted by discussion with Alex Colomar.
    
    This is the only man page groff ships needing such revision, since (1)
    we generally don't use long options except for `--help` and `--version`;
    and (2) we usually dispose of those and any short option synonyms they
    have in prose rather than in a tagged paragraph list.  But groff(1)'s
    special handling of `--version` commands further discussion.
---
 src/roff/groff/groff.1.man | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index 5015f972e..3544739a6 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -481,9 +481,9 @@ and
 .
 .
 .TP
-.B \-v
-.TQ
 .B \%\-\-version
+.TQ
+.B \-v
 Write version information for
 .I groff
 and all programs run by it to the standard output stream;



reply via email to

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