From 2fae9e5d26536fc61ad06a3d295c9bb8e40d215e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Dec 2001 20:46:30 +0000 Subject: Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION instead of hard-coding --help and --version descriptions. Split --help output into smaller pieces. Use fputs, not printf. --- src/true.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/true.c') diff --git a/src/true.c b/src/true.c index 230cd79a8..c4a42dbcf 100644 --- a/src/true.c +++ b/src/true.c @@ -21,10 +21,10 @@ Exit with a status code indicating success.\n\ \n\ These option names may not be abbreviated.\n\ \n\ - --help display this help and exit\n\ - --version output version information and exit\n\ -") - , program_name, program_name); +"), + program_name, program_name); + fputs (HELP_OPTION_DESCRIPTION, stdout); + fputs (VERSION_OPTION_DESCRIPTION, stdout); puts (_("\nReport bugs to .")); exit (status); } -- cgit v1.2.3-54-g00ecf