improved --help output

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Per a new recommendation discussed among GNU maintainers, 'm4 --help' now
ends in:

Report bugs to <[email protected]>.
GNU M4 home page: http://www.gnu.org/software/m4/
General help using GNU software: http://www.gnu.org/gethelp/

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl7dKMACgkQ84KuGfSFAYAtzQCfdfmRI68txbdjHdph+liK5/UF
wFoAoIuAHPvaXQvTsScR7v3XWwgOGIBu
=sGnI
-----END PGP SIGNATURE-----

_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches
m4.patch394 (text/plain, 1.4 KB)
From d499df171ddb2161d1e75055009a9b3d18131591 Mon Sep 17 00:00:00 2001
From: Eric Blake <[email protected]>
Date: Sat, 24 Jan 2009 13:02:48 -0700
Subject: [PATCH] Add URLs to --help output.

* src/m4.c (usage): Use enhanced version-etc features.

Signed-off-by: Eric Blake <[email protected]>
---
 ChangeLog |    5 +++++
 src/m4.c  |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2a66325..c55e79f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-24  Eric Blake  <[email protected]>
+
+	Add URLs to --help output.
+	* src/m4.c (usage): Use enhanced version-etc features.
+
 2009-01-02  Eric Blake  <[email protected]>
 
 	Use nicer email address in web manual.
diff --git a/src/m4.c b/src/m4.c
index 65b5092..914655a 100644
--- a/src/m4.c
+++ b/src/m4.c
@@ -1,7 +1,7 @@
 /* GNU m4 -- A simple macro processor
 
    Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004, 2005, 2006,
-   2007, 2008 Free Software Foundation, Inc.
+   2007, 2008, 2009 Free Software Foundation, Inc.
 
    This file is part of GNU M4.
 
@@ -260,7 +260,7 @@ of directories included after any specified by `-I'.\n\
 Exit status is 0 for success, 1 for failure, 63 for frozen file version\n\
 mismatch, or whatever value was passed to the m4exit macro.\n\
 ", stdout);
-      xprintf ("\nReport bugs to <%s>.\n", PACKAGE_BUGREPORT);
+      emit_bug_reporting_address ();
     }
   exit (status);
 }
-- 
1.6.0.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.