[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 24/39: [preconv]: Use better metasyntactic var names.
From: |
G. Branden Robinson |
Subject: |
[groff] 24/39: [preconv]: Use better metasyntactic var names. |
Date: |
Sat, 29 Oct 2022 14:59:58 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 0a40bf9a9b144ba703878cc7cf27ae33e712f305
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Oct 26 20:47:39 2022 -0500
[preconv]: Use better metasyntactic var names.
* src/preproc/preconv/preconv.cpp (usage): Use more communicative
metasyntactic variable names.
* src/preproc/preconv/preconv.1.man (Synopsis, Options): Align with
updated usage message.
---
ChangeLog | 7 +++++++
src/preproc/preconv/preconv.1.man | 6 +++---
src/preproc/preconv/preconv.cpp | 2 +-
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7c949eb60..a8d8906f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-10-26 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * src/preproc/preconv/preconv.cpp (usage): Use more
+ communicative metasyntactic variable names.
+ * src/preproc/preconv/preconv.1.man (Synopsis, Options): Align
+ with updated usage message.
+
2022-10-24 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/preproc/html/pre-html.cpp: Alter usage message handling.
diff --git a/src/preproc/preconv/preconv.1.man
b/src/preproc/preconv/preconv.1.man
index ceceb510c..332b1f065 100644
--- a/src/preproc/preconv/preconv.1.man
+++ b/src/preproc/preconv/preconv.1.man
@@ -37,7 +37,7 @@ preconv \- prepare files for typesetting with groff
.SY preconv
.RB [ \-dr ]
.RB [ \-D\~\c
-.IR default-encoding ]
+.IR fallback-encoding ]
.RB [ \-e\~\c
.IR encoding ]
.RI [ file\~ .\|.\|.]
@@ -498,9 +498,9 @@ Emit debugging messages to the standard error stream.
.
.
.TP
-.BI \-D\~ default-encoding
+.BI \-D\~ fallback-encoding
Report
-.I default-encoding
+.I fallback-encoding
if all detection methods fail.
.
.
diff --git a/src/preproc/preconv/preconv.cpp b/src/preproc/preconv/preconv.cpp
index c85363f06..7bc716ca7 100644
--- a/src/preproc/preconv/preconv.cpp
+++ b/src/preproc/preconv/preconv.cpp
@@ -1205,7 +1205,7 @@ void
usage(FILE *stream)
{
fprintf(stream,
-"usage: %s [-dr] [-D enc] [-e enc] [file ...]\n"
+"usage: %s [-dr] [-D fallback-encoding] [-e encoding] [file ...]\n"
"usage: %s {-v | --version}\n"
"usage: %s {-h | --help}\n"
"\n"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 24/39: [preconv]: Use better metasyntactic var names.,
G. Branden Robinson <=