summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-01-27 19:43:45 +0100
committerJim Meyering <meyering@redhat.com>2009-01-27 20:20:20 +0100
commit0d5508de1358319c32b757d8593c3862465fe916 (patch)
treea95159e2497af5ed4e8c93e23f613caf360692fb /src
parentddf56e0440d385dd4d3ffcb37a5bba869722d696 (diff)
downloadcoreutils-0d5508de1358319c32b757d8593c3862465fe916.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/system.h7
1 files changed, 4 insertions, 3 deletions
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: <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));
}