From 87372cd3aefb4154d9096a491700576d551abd1f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Oct 1993 20:44:16 +0000 Subject: merge with 3.8.3e --- src/install.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/install.c') diff --git a/src/install.c b/src/install.c index 2c238689f..3c9f19602 100644 --- a/src/install.c +++ b/src/install.c @@ -540,7 +540,7 @@ static void usage (status) int status; { - fprintf (stderr, "\ + fprintf (status == 0 ? stdout : stderr, "\ Usage: %s [OPTION]... SOURCE DEST (1st format)\n\ or: %s [OPTION]... SOURCE... DIRECTORY (2nd format)\n\ or: %s [OPTION]... DIRECTORY... (3nd format)\n\ @@ -548,15 +548,15 @@ Usage: %s [OPTION]... SOURCE DEST (1st format)\n\ program_name, program_name, program_name); if (status == 0) - fprintf (stderr, "\ + fprintf (stdout, "\ -c (ignored)\n\ -d, --directory create [leading] directories, mandatory for 3rd format\n\ -g, --group GROUP set group ownership, instead of process' current group\n\ -m, --mode MODE set permission mode (as in chmod), instead of 0755\n\ -o, --owner OWNER set ownership (super-user only)\n\ -s, --strip strip symbol tables, only for 1st and 2nd formats\n\ - --help provide this help\n\ - --version show program version\n"); + --help display this help and exit\n\ + --version output version information and exit\n"); else fprintf (stderr, "Try `%s --help' for more information.\n", -- cgit v1.2.3-70-g09d2