texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Config.pm (GNUT_set_from_cmdline): a


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Config.pm (GNUT_set_from_cmdline): avoid function name in warning message. Gavin report.
Date: Mon, 11 Oct 2021 12:38:11 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 53a35b3  * tp/Texinfo/Config.pm (GNUT_set_from_cmdline): avoid 
function name in warning message. Gavin report.
53a35b3 is described below

commit 53a35b3a76a1b0dbef83b446cb22d6197d065438
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Oct 11 18:38:02 2021 +0200

    * tp/Texinfo/Config.pm (GNUT_set_from_cmdline): avoid function
    name in warning message. Gavin report.
---
 ChangeLog            | 5 +++++
 tp/Texinfo/Config.pm | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 403cc42..3fe811d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-10-11  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Config.pm (GNUT_set_from_cmdline): avoid function
+       name in warning message. Gavin report.
+
 2021-09-26  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Fix page break between @verbatim environment and @image
diff --git a/tp/Texinfo/Config.pm b/tp/Texinfo/Config.pm
index b2c0a6b..f8a78ba 100644
--- a/tp/Texinfo/Config.pm
+++ b/tp/Texinfo/Config.pm
@@ -155,8 +155,8 @@ sub GNUT_set_from_cmdline($$)
   delete $init_files_options->{$var};
   delete $main_program_default_options->{$var};
   if (!Texinfo::Common::valid_option($var)) {
-    _GNUT_document_warn(sprintf(__("%s: unknown variable %s\n"),
-                          'GNUT_set_from_cmdline', $var));
+    _GNUT_document_warn(sprintf(__("unknown variable from command line: %s\n"),
+                               $var));
     return 0;
   }
   $cmdline_options->{$var} = $value;



reply via email to

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