gbranden pushed a commit to branch master
in repository groff.
commit 7e652ce72e97755ab152ed953fa6fdeea46c3ece
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Oct 7 12:06:05 2025 -0500
[pic]: Slightly refactor.
* src/preproc/pic/main.cpp (main): Sort _optstring_ argument to
`getopt_long()` in U.S. English collation order for better
intelligibility to maintainers.
---
ChangeLog | 6 ++++++
src/preproc/pic/main.cpp | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 8115b6913..c4c94e775 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-10-07 G. Branden Robinson <[email protected]>
+
+ * src/preproc/pic/main.cpp (main): Sort _optstring_ argument to
+ `getopt_long()` in U.S. English collation order for better
+ intelligibility to maintainers.
+
2025-10-07 G. Branden Robinson <[email protected]>
* src/roff/troff/input.cpp (main): Sort _optstring_ argument to
diff --git a/src/preproc/pic/main.cpp b/src/preproc/pic/main.cpp
index 0e66f34d6..46c2c0d38 100644
--- a/src/preproc/pic/main.cpp
+++ b/src/preproc/pic/main.cpp
@@ -559,7 +559,7 @@ int main(int argc, char **argv)
{ "version", no_argument, 0, 'v' },
{ NULL, 0, 0, 0 }
};
- while ((opt = getopt_long(argc, argv, ":T:CDSUtcvnxzpf", long_options,
+ while ((opt = getopt_long(argc, argv, ":cCDfnpStT:Uvxz", long_options,
NULL)) != EOF)
switch (opt) {
case 'C':
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit