diff options
Diffstat (limited to 'src/yes.c')
-rw-r--r-- | src/yes.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* yes - output a string repeatedly until killed - Copyright (C) 1991-1997, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1991-1997, 1999, 2000, 2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -52,11 +52,12 @@ Usage: %s [STRING]...\n\ "), program_name, program_name); - printf (_("\ + fputs (_("\ Repeatedly output a line with all specified STRING(s), or `y'.\n\ \n\ - --help display this help and exit\n\ - --version output version information and exit\n")); +"), stdout); + fputs (HELP_OPTION_DESCRIPTION, stdout); + fputs (VERSION_OPTION_DESCRIPTION, stdout); puts (_("\nReport bugs to <bug-sh-utils@gnu.org>.")); } exit (status); |