diff options
author | Jim Meyering <meyering@redhat.com> | 2008-11-08 19:59:52 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-11-08 19:59:52 +0100 |
commit | 41ec3548b058ebd4cea2eab5d74d583facca6e88 (patch) | |
tree | cfdfad39554e3d7adcf1466e93aeebc26b129d1f /src/system.h | |
parent | 5b27ec57b0733004e12683642dc5f24e465e1392 (diff) | |
download | coreutils-41ec3548b058ebd4cea2eab5d74d583facca6e88.tar.xz |
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.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/system.h b/src/system.h index e88b1bb3b..8577d4464 100644 --- a/src/system.h +++ b/src/system.h @@ -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" |