changeset 11103:a3005e4cadff

version-etc: use consistent URL formatting * lib/version-etc.c (emit_bug_reporting_address, version_etc_va): Improve formatting. Use fputs for string without %. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Tue, 27 Jan 2009 10:00:51 -0700
parents dca85ddba3f3
children 3b51d8a5b78e
files ChangeLog lib/version-etc.c
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-28  Eric Blake  <ebb9@byu.net>
+
+	version-etc: use consistent URL formatting
+	* lib/version-etc.c (emit_bug_reporting_address, version_etc_va):
+	Improve formatting.  Use fputs for string without %.
+
 2009-01-28  Jim Meyering  <meyering@redhat.com>
 
 	00gnulib.m4: add m4 quotes in shell comment to avoid autoconf warning
--- a/lib/version-etc.c
+++ b/lib/version-etc.c
@@ -66,7 +66,7 @@
 
   fputs (_("\
 \n\
-License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n\
+License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n\
 This is free software: you are free to change and redistribute it.\n\
 There is NO WARRANTY, to the extent permitted by law.\n\
 \n\
@@ -179,7 +179,8 @@
      "Report 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 (_("%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);
 }