]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: emit better bug-reporting info, to help help2man
authorJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 18:43:45 +0000 (19:43 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 19:20:20 +0000 (20:20 +0100)
* 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

index 963ba3712122c45e901aded32c54486e84b457a2..79eac65fb620a045a8914d6db1c3bc1babd39125 100644 (file)
@@ -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: <http://www.gnu.org/software/%s/>.\n"),
          PACKAGE_NAME, PACKAGE);
-  printf (_("General help using GNU software: http://www.gnu.org/gethelp/\n"));
+  fputs (_("General help using GNU software: <http://www.gnu.org/gethelp/>.\n"),
+        stdout);
 
   /* TRANSLATORS: Replace LANG_CODE in this URL with your language code
      <http://translationproject.org/team/LANG_CODE.html> 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 "
-             "<http://translationproject.org/team/>\n"),
+             "<http://translationproject.org/team/>.\n"),
            last_component (program_name));
 }