From: Jim Meyering Date: Tue, 27 Jan 2009 18:43:45 +0000 (+0100) Subject: doc: emit better bug-reporting info, to help help2man X-Git-Tag: v7.1~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d5508de1358319c32b757d8593c3862465fe916;p=thirdparty%2Fcoreutils.git doc: emit better bug-reporting info, to help help2man * src/system.h (emit_bug_reporting_address): End each "sentence" with period, mark URLs with <...>. Based on a suggestion from Eric Blake. Use fputs on a string without %s, not printf. --- diff --git a/src/system.h b/src/system.h index 963ba37121..79eac65fb6 100644 --- a/src/system.h +++ b/src/system.h @@ -621,9 +621,10 @@ emit_bug_reporting_address (void) { printf (_("\nReport %s bugs to <%s>.\n"), last_component (program_name), PACKAGE_BUGREPORT); - printf (_("%s home page: http://www.gnu.org/software/%s/\n"), + printf (_("%s home page: .\n"), PACKAGE_NAME, PACKAGE); - printf (_("General help using GNU software: http://www.gnu.org/gethelp/\n")); + fputs (_("General help using GNU software: .\n"), + stdout); /* TRANSLATORS: Replace LANG_CODE in this URL with your language code to form one of @@ -631,7 +632,7 @@ emit_bug_reporting_address (void) the entire URL with your translation team's email address. */ if (hard_locale (LC_MESSAGES)) printf (_("Report %s translation bugs to " - "\n"), + ".\n"), last_component (program_name)); }