diff options
author | Jim Meyering <jim@meyering.net> | 2001-12-15 20:46:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-12-15 20:46:30 +0000 |
commit | 2fae9e5d26536fc61ad06a3d295c9bb8e40d215e (patch) | |
tree | 95b997f03d6570981ce5d104a4500b6ffd446768 /src/pathchk.c | |
parent | 9be58099c4347a6bc27609b88b5f3ac8c1e054ac (diff) | |
download | coreutils-2fae9e5d26536fc61ad06a3d295c9bb8e40d215e.tar.xz |
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.
Diffstat (limited to 'src/pathchk.c')
-rw-r--r-- | src/pathchk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index 132e59dac..9ba4da50a 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -138,13 +138,13 @@ usage (int status) else { printf (_("Usage: %s [OPTION]... NAME...\n"), program_name); - printf (_("\ + fputs (_("\ Diagnose unportable constructs in NAME.\n\ \n\ -p, --portability check for all POSIX systems, not only this one\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); |