summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-01 17:21:56 +0000
committerJim Meyering <jim@meyering.net>2001-12-01 17:21:56 +0000
commitafa12bc91246072ba505a8a1d57eba1486f33ee2 (patch)
tree35303eb9fadd6825b784b6989aa30ceb6971abb2 /src/tr.c
parentc0f45e1e438519da401714ab98a6c30d3aa7c241 (diff)
downloadcoreutils-afa12bc91246072ba505a8a1d57eba1486f33ee2.tar.xz
(usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTION
instead of hard-coding --help and --version descriptions.
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tr.c b/src/tr.c
index c166bcda8..8d4b3e37b 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -337,10 +337,8 @@ writing to standard output.\n\
-s, --squeeze-repeats replace sequence of characters with one\n\
-t, --truncate-set1 first truncate SET1 to length of SET2\n\
"), stdout);
- fputs (_("\
- --help display this help and exit\n\
- --version output version information and exit\n\
-"), stdout);
+ EMIT_HELP_DESCRIPTION (stdout);
+ EMIT_VERSION_DESCRIPTION (stdout);
fputs (_("\
\n\
SETs are specified as strings of characters. Most represent themselves.\n\