From 0d5508de1358319c32b757d8593c3862465fe916 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 Jan 2009 19:43:45 +0100 Subject: 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. --- src/system.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/system.h b/src/system.h index 963ba3712..79eac65fb 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)); } -- cgit v1.2.3-70-g09d2