]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: tr: clarify that -t is ignored unless translating
authorPádraig Brady <P@draigBrady.com>
Sun, 19 Jun 2022 12:18:01 +0000 (13:18 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Jul 2022 17:22:50 +0000 (18:22 +0100)
* src/tr.c (usage): Don't say that -t is disallowed unless translating.
Reported in https://bugs.debian.org/1012447

src/tr.c

index e2aa33e7643cee12eb8ac1907389bc2455164f15..59b0969d2c737418e96a352e7feebdff7b02b065 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
@@ -340,7 +340,7 @@ Interpreted sequences are:\n\
      fputs (_("\
 \n\
 Translation occurs if -d is not given and both STRING1 and STRING2 appear.\n\
--t may be used only when translating.  ARRAY2 is extended to length of\n\
+-t is only significant when translating.  ARRAY2 is extended to length of\n\
 ARRAY1 by repeating its last character as necessary.  Excess characters\n\
 of ARRAY2 are ignored.  Character classes expand in unspecified order;\n\
 while translating, [:lower:] and [:upper:] may be used in pairs to\n\