summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wc.c b/src/wc.c
index fe9c24873..14645fefd 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -137,10 +137,8 @@ read standard input.\n\
-L, --max-line-length print the length of the longest line\n\
-w, --words print the word counts\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);