summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 18:34:54 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 18:34:54 +0000
commit7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad (patch)
tree977d95cd30e4083cdebe7ce708c4940438689d05 /src/tr.c
parente8be969ec8dabc29cf0f55750fdde2a52cc0df23 (diff)
downloadcoreutils-7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad.tar.xz
(usage): Include one- or two-line synopsis in --help output.
From Karl Berry.
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tr.c b/src/tr.c
index 515cc8512..da4f9deb2 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -326,6 +326,8 @@ Usage: %s [OPTION]... SET1 [SET2]\n\
",
program_name);
printf ("\
+Translate, squeeze, and/or delete characters from standard input,\n\
+writing to standard output.\n\
\n\
-c, --complement first complement SET1\n\
-d, --delete delete characters in SET1, do not translate\n\
@@ -336,8 +338,8 @@ Usage: %s [OPTION]... SET1 [SET2]\n\
");
printf ("\
\n\
-SETs are specified as strings of characters. Most represent\n\
-themselves. Here are the special writings:\n\
+SETs are specified as strings of characters. Most represent themselves.\n\
+Interpreted sequences are:\n\
\n\
\\NNN character with octal value NNN (1 to 3 octal digits)\n\
\\\\ backslash\n\