diff options
author | Jim Meyering <jim@meyering.net> | 1993-10-09 20:44:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-10-09 20:44:16 +0000 |
commit | 87372cd3aefb4154d9096a491700576d551abd1f (patch) | |
tree | 152f4b579d8b9b064d01fbd009795771098e5410 /src/chmod.c | |
parent | 4ab2d8f53aa7198e41d0e4e0e94055dc1f6e31ba (diff) | |
download | coreutils-87372cd3aefb4154d9096a491700576d551abd1f.tar.xz |
merge with 3.8.3e
Diffstat (limited to 'src/chmod.c')
-rw-r--r-- | src/chmod.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/chmod.c b/src/chmod.c index 9df0c33be..f1e4738ff 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -305,23 +305,23 @@ static void usage (status) int status; { - fprintf (stderr, "\ + fprintf (status == 0 ? stdout : stderr, "\ Usage: %s [OPTION]... MODE[,MODE]... FILE...\n\ or: %s [OPTION]... OCTAL_MODE FILE...\n\ \n", program_name, program_name); if (status == 0) - fprintf (stderr, "\ - -c, --changes be verbose whenever change occurs\n\ - -f, --silent, --quiet avoid most error messages\n\ - -v, --verbose explain what is being done\n\ + fprintf (stdout, "\ + -c, --changes like verbose but report only when a change is made\n\ + -f, --silent, --quiet suppress most error messages\n\ + -v, --verbose output a diagnostic for every file processed\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\ -Each MODE is one or more of letters ugoa, one of the signs +-= and one\n\ -or more of letters rwxXstugo.\n"); +Each MODE is one or more of the letters ugoa, one of the symbols +-= and\n\ +one or more of the letters rwxXstugo.\n"); else fprintf (stderr, "Try `%s --help' for more information.\n", |