diff options
author | Jim Meyering <jim@meyering.net> | 2001-12-01 17:21:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-12-01 17:21:56 +0000 |
commit | afa12bc91246072ba505a8a1d57eba1486f33ee2 (patch) | |
tree | 35303eb9fadd6825b784b6989aa30ceb6971abb2 /src/fold.c | |
parent | c0f45e1e438519da401714ab98a6c30d3aa7c241 (diff) | |
download | coreutils-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/fold.c')
-rw-r--r-- | src/fold.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fold.c b/src/fold.c index d2503a95d..b78e9a40c 100644 --- a/src/fold.c +++ b/src/fold.c @@ -80,10 +80,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -s, --spaces break at spaces\n\ -w, --width=WIDTH use WIDTH columns instead of 80\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); |