emit more precise bug-reporting instructions

Hoping that this will decrease the volume of bug reports
mistakenly directed to the coreutils mailing list.
* src/system.h (emit_bug_reporting_address): Specify the program
name in the "Report bugs to <...>." line in each program's --help
output and man page.  Now, it will say "Report PROGRAM_NAME bugs
to <...>."  Suggestion from Ondřej Vašík.
This commit is contained in:
Jim Meyering committed 2008-11-08 19:59:52 +01:00
1 parent 5b27ec57b0
commit 41ec3548b0
1 file changed
+5 -4
+5 -4
View File
@@ -614,11 +614,12 @@ ptr_align (void const *ptr, size_t alignment)
static inline void
emit_bug_reporting_address (void)
{
/* TRANSLATORS: The placeholder indicates the bug-reporting address
for this package. Please add _another line_ saying
"Report translation bugs to <...>\n" with the address for translation
/* TRANSLATORS: The second placeholder indicates the bug-reporting
address for this package. Please add _another line_ saying
"Report %s translation bugs to <...>\n" with the address for translation
bugs (typically your translation team's web or email address). */
printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
printf (_("\nReport %s bugs to <%s>.\n"), last_component (program_name),
PACKAGE_BUGREPORT);
}
#include "inttostr.h"