]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: adjust URLs in help to avoid wrapping
authorPádraig Brady <P@draigBrady.com>
Tue, 1 Jan 2019 14:34:14 +0000 (06:34 -0800)
committerPádraig Brady <P@draigBrady.com>
Fri, 4 Jan 2019 16:15:56 +0000 (08:15 -0800)
* src/system.h: Adjust lines containing URLs so that
they don't wrap on 80 column terminals.  One could also
use .UR macros, but these aren't universally available.
Note the adjustments here need to be compatible with
the pattern matching done in help2man.
Addresses https://bugs.gnu.org/33914

src/system.h

index 80fc235631ea87b2428121b250f427fe3c2ccd81..e4790f7cc6da5921b35f07e87ee423a84c77d0e5 100644 (file)
@@ -660,10 +660,10 @@ emit_ancillary_info (char const *program)
          <https://translationproject.org/team/LANG_CODE.html> to form one of
          the URLs at https://translationproject.org/team/.  Otherwise, replace
          the entire URL with your translation team's email address.  */
-      printf (_("Report %s translation bugs to "
-                "<https://translationproject.org/team/>\n"), program);
+      fputs (_("Report any translation bugs to "
+               "<https://translationproject.org/team/>\n"), stdout);
     }
-  printf (_("Full documentation at: <%s%s>\n"),
+  printf (_("Full documentation <%s%s>\n"),
           PACKAGE_URL, program);
   printf (_("or available locally via: info '(coreutils) %s%s'\n"),
           node, node == program ? " invocation" : "");