summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-09 20:44:16 +0000
committerJim Meyering <jim@meyering.net>1993-10-09 20:44:16 +0000
commit87372cd3aefb4154d9096a491700576d551abd1f (patch)
tree152f4b579d8b9b064d01fbd009795771098e5410 /src/chown.c
parent4ab2d8f53aa7198e41d0e4e0e94055dc1f6e31ba (diff)
downloadcoreutils-87372cd3aefb4154d9096a491700576d551abd1f.tar.xz
merge with 3.8.3e
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/chown.c b/src/chown.c
index 15848837b..caf16947f 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -295,22 +295,22 @@ static void
usage (status)
int status;
{
- fprintf (stderr, "\
+ fprintf (status == 0 ? stdout : stderr, "\
Usage: %s [OPTION]... OWNER[.[GROUP]] FILE...\n\
or: %s [OPTION]... .[GROUP] FILE...\n\
\n",
program_name, program_name);
if (status == 0)
- fprintf (stderr, "\
+ fprintf (stdout, "\
-c, --changes be verbose whenever change occurs\n\
- -f, --silent, --quiet avoid most error messages\n\
+ -f, --silent, --quiet suppress most error messages\n\
-v, --verbose explain what is being done\n\
-R, --recursive change files and directories recursively\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\
\n\
-Owner is unchanged if missing. Group is unchanged is missing, but changed\n\
+Owner is unchanged if missing. Group is unchanged if missing, but changed\n\
to login group if implied by a period. A colon may replace the period.\n");
else