summaryrefslogtreecommitdiff
path: root/src/cat.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/cat.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/cat.c')
-rw-r--r--src/cat.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cat.c b/src/cat.c
index 3b5d7ed57..494c59417 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -109,10 +109,8 @@ Concatenate FILE(s), or standard input, to standard output.\n\
-u (ignored)\n\
-v, --show-nonprinting use ^ and M- notation, except for LFD and TAB\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\
With no FILE, or when FILE is -, read standard input.\n\