groff-commit
[Top][All Lists]
Advanced

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

[groff] 09/51: [eqn]: Drop man page reference from diagnostics.


From: G. Branden Robinson
Subject: [groff] 09/51: [eqn]: Drop man page reference from diagnostics.
Date: Sun, 11 Sep 2022 08:15:48 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit b6def74b740350ef26a638900c7c71e799df77be
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Sep 3 20:56:05 2022 -0500

    [eqn]: Drop man page reference from diagnostics.
    
    * src/preproc/eqn/main.cpp (main): Drop man page reference from
      deprecation diagnostics.  The man page might be installed with a
      prefix determined at configuration time, and that's too much trouble
      to mess with for construction of a message.  Trust the user of these
      ancient options to try reading the man page with the same name as the
      command.
---
 ChangeLog                | 9 +++++++++
 src/preproc/eqn/main.cpp | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8c20eea0c..0d9e403be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-09-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/preproc/eqn/main.cpp (main): Drop man page reference from
+       deprecation diagnostics.  The man page might be installed with a
+       prefix determined at configuration time, and that's too much
+       trouble to mess with for construction of a message.  Trust the
+       user of these ancient options to try reading the man page with
+       the same name as the command.
+
 2022-09-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [docs]: Revise discussion of measurements.
diff --git a/src/preproc/eqn/main.cpp b/src/preproc/eqn/main.cpp
index 0a593f942..608b46a3d 100644
--- a/src/preproc/eqn/main.cpp
+++ b/src/preproc/eqn/main.cpp
@@ -335,7 +335,7 @@ int main(int argc, char **argv)
       break;
     case 's':
       if (set_gsize(optarg))
-       warning("option '-s' is deprecated; see eqn(1) man page");
+       warning("option '-s' is deprecated");
       else
        error("invalid size '%1' in '-s' option argument ", optarg);
       break;
@@ -343,7 +343,7 @@ int main(int argc, char **argv)
       {
        int n;
        if (sscanf(optarg, "%d", &n) == 1) {
-         warning("option '-p' is deprecated; see eqn(1) man page");
+         warning("option '-p' is deprecated");
          set_script_reduction(n);
        }
        else



reply via email to

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