summaryrefslogtreecommitdiff
path: root/src/cksum.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/cksum.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/cksum.c')
-rw-r--r--src/cksum.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cksum.c b/src/cksum.c
index 5c5b5164e..9dfd96e6d 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -286,10 +286,8 @@ Usage: %s [FILE]...\n\
Print CRC checksum and byte counts of each FILE.\n\
\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);
puts (_("\nReport bugs to <bug-textutils@gnu.org>."));
}
exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE);