groff-commit
[Top][All Lists]
Advanced

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

[groff] 11/14: [grog]: Report version as our other programs do.


From: G. Branden Robinson
Subject: [groff] 11/14: [grog]: Report version as our other programs do.
Date: Fri, 4 Jun 2021 16:02:04 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit b7d95527d5c518696d311723b01e927f5d98b9a7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Jun 5 05:07:51 2021 +1000

    [grog]: Report version as our other programs do.
    
    * src/roff/grog/subs.pl (version): Report version information in a
      format consistent with our other programs.
---
 ChangeLog             | 5 +++++
 src/roff/grog/subs.pl | 3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 91550a7..f088a18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2021-06-05  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * src/roff/grog/subs.pl (version): Report version information in
+       a format consistent with our other programs.
+
+2021-06-05  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * src/roff/grog/grog.pl: Refactor initialiation so that the
        program can be run from a build tree--and tested.  Drop much
        cruft from before Bertrand Garrigues's 2018 work to adopt
diff --git a/src/roff/grog/subs.pl b/src/roff/grog/subs.pl
index cc50ea3..b6c39c0 100644
--- a/src/roff/grog/subs.pl
+++ b/src/roff/grog/subs.pl
@@ -1247,8 +1247,7 @@ EOF
 
 sub version {
   our %at_at;
-  print "Perl version of GNU $Prog " .
-    "in groff version " . $at_at{'GROFF_VERSION'};
+  print "$Prog (groff) " . $at_at{'GROFF_VERSION'};
   exit 0;
 } # version()
 



reply via email to

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