Update of bug #68761 (group groff):

                 Summary: [soelim] file inclusion failures are not fatal; they
(configurably) should be  => [PATCH] [soelim] file inclusion failures are not
fatal; they (configurably) should be

    _______________________________________________________

Follow-up Comment #2:


commit b3effbe96fed7a82888a7428c1c2b43996bf37a5
Author: G. Branden Robinson <[email protected]>
Date:   Sun Nov 1 22:07:17 2026 -0600

    XXX [soelim]: Document `-x` option.  Fixes Savannah #68761.

diff --git a/src/preproc/soelim/soelim.1.man
b/src/preproc/soelim/soelim.1.man
index 986abde84..ebc392863 100644
--- a/src/preproc/soelim/soelim.1.man
+++ b/src/preproc/soelim/soelim.1.man
@@ -64,7 +64,7 @@ .SH Synopsis
 .\" ====================================================================
 .
 .SY @g@soelim
-.RB [ \-Crt ]
+.RB [ \-Crtx ]
 .RB [ \-I
 .IR dir ]
 .RI [ input-file\~ .\|.\|.]
@@ -461,6 +461,13 @@ .SH Options
 the last one specified controls.
 .
 .
+.TP
+.B \-x
+Exit with an error status if an
+.I included-file
+cannot be opened.
+.
+.
 .\" ====================================================================
 .SH "Exit status"
 .\" ====================================================================
diff --git a/src/preproc/soelim/soelim.cpp b/src/preproc/soelim/soelim.cpp
index edd2109ab..ae88b031b 100644
--- a/src/preproc/soelim/soelim.cpp
+++ b/src/preproc/soelim/soelim.cpp
@@ -54,7 +54,7 @@ static bool do_file(const char *);
 
 static void usage(FILE *stream)
 {
-  fprintf(stream, "usage: %s [-Crt] [-I dir] [input-file ...]\n"
+  fprintf(stream, "usage: %s [-Crtx] [-I dir] [input-file ...]\n"
          "usage: %s {-v | --version}\n"
          "usage: %s --help\n",
          program_name, program_name, program_name);




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68761>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to