gbranden pushed a commit to branch master
in repository groff.

commit ebac657c4907549e526f6dd569bdf5377a597235
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Oct 7 10:58:06 2025 -0500

    [troff]: Slightly refactor.
    
    * src/roff/troff/input.cpp (main): Sort _optstring_ argument to
      `getopt_long()` in U.S. English collation order for better
      intelligibility to maintainers.
---
 ChangeLog                | 6 ++++++
 src/roff/troff/input.cpp | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a7d06a5d5..8115b6913 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-10-07  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/input.cpp (main): Sort _optstring_ argument to
+       `getopt_long()` in U.S. English collation order for better
+       intelligibility to maintainers.
+
 2025-10-06  G. Branden Robinson <[email protected]>
 
        Reform terminology ("hyphenation flags" -> "hyphenation mode").
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index b3a1757cc..6d5de8016 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -9285,7 +9285,7 @@ int main(int argc, char **argv)
 #define DEBUG_OPTION ""
 #endif
   while ((c = getopt_long(argc, argv,
-                         ":abciI:vw:W:zCEf:m:n:o:r:d:F:M:T:tqs:RU"
+                         ":abcCd:Ef:F:iI:m:M:n:o:qr:Rs:tT:Uvw:W:z"
                          DEBUG_OPTION, long_options, 0))
         != EOF)
     switch (c) {

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to