summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-01-24 13:13:40 -0700
committerEric Blake <ebb9@byu.net>2009-01-24 16:09:16 -0700
commit3998b3ad447a3200ce8a040b860a8fd0e109850b (patch)
treea5dec2fe312aa8da86d07d2313e62e9b9338e409
parent6502f317d49a62e0fffca97793bf923cf7897918 (diff)
downloadm4-3998b3ad447a3200ce8a040b860a8fd0e109850b.tar.gz
Add URLs to --help output.
* src/main.c (usage): Use enhanced version-etc features. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit d499df171ddb2161d1e75055009a9b3d18131591)
-rw-r--r--ChangeLog5
-rw-r--r--src/main.c10
2 files changed, 7 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a7ca973..72d80e35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-24 Eric Blake <ebb9@byu.net>
+
+ Add URLs to --help output.
+ * src/main.c (usage): Use enhanced version-etc features.
+
2009-01-07 Eric Blake <ebb9@byu.net>
Enhance substr to support replacement text.
diff --git a/src/main.c b/src/main.c
index c04c5491..b4d8da85 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,7 +1,7 @@
/* GNU m4 -- A simple macro processor
Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1999, 2000, 2003,
- 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+ 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of GNU M4.
@@ -191,13 +191,7 @@ specified by `-M'. The environment variable `POSIXLY_CORRECT' implies\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);
- puts ("");
- /* TRANSLATORS: the placeholder indicates the bug-reporting
- address for this application. Please add _another line_
- saying "Report translation bugs to <...>\n" with the address
- for translation bugs (typically your translation team's web
- or email address). */
- xprintf (_("Report bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}