This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
(argp) Bug report mail address..
- From: "Alfred M. Szmidt" <ams at kemisten dot nu>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 16 Sep 2003 15:06:18 +0200 (MEST)
- Subject: (argp) Bug report mail address..
Hi,
most (I would say all) GNU utilities report the bug reporting line as
follows:
Report bugs to <bug-coreutils@gnu.org>.
but argp reports it like this (note the lack of < and >):
Report bugs to bug-hurd@gnu.org.
if argp_program_bug_address is set to "bug-hurd@gnu.org". But since
it is standard to have < and > around an email address, it is quite
redundant to force the user to add them.
2003-09-16 Alfred M. Szmidt <ams@kemisten.nu>
* argp/argp-help.c (_help): Put < and > around
argp_program_bug_address in "Report bugs to".
* manual/argp.texi: Updated to reflect the above change.
Index: argp/argp-help.c
--- argp/argp-help.c
+++ argp/argp-help.c
@@ -1641,7 +1641,7 @@
if (anything)
__argp_fmtstream_putc (fs, '\n');
__argp_fmtstream_printf (fs, dgettext (argp->argp_domain,
- "Report bugs to %s.\n"),
+ "Report bugs to <%s>.\n"),
argp_program_bug_address);
anything = 1;
}
Index: manual/argp.texi
--- manual/argp.texi
+++ manual/argp.texi
@@ -94,7 +94,7 @@ exit. The exception to this is if the @
If defined or set by the user program to a non-zero value,
@code{argp_program_bug_address} should point to a string that will be
printed at the end of the standard output for the @samp{--help} option,
-embedded in a sentence that says @samp{Report bugs to @var{address}.}.
+embedded in a sentence that says @samp{Report bugs to <@var{address}>.}.
@end deftypevar
@need 1500