chown: update usage

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma 2014-07-10 20:31:51 +00:00 committed by sin
parent ba8ca986a4
commit 72b909df9c
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
chown \- change file ownership
.SH SYNOPSIS
.B chown
.RB [ \-r ]
.RB [ \-Rr ]
.RI [ owner ][: group ]
.RI [ file ...]
.SH DESCRIPTION
@ -11,6 +11,9 @@ chown \- change file ownership
changes the user or group ownership for the given files.
.SH OPTIONS
.TP
.B \-R
equivalent to -r.
.TP
.B \-r
change directory ownership recursively.
.SH SEE ALSO

View File

@ -18,7 +18,7 @@ static int ret = EXIT_SUCCESS;
static void
usage(void)
{
eprintf("usage: %s [-r] [owner][:[group]] file...\n", argv0);
eprintf("usage: %s [-Rr] [owner][:[group]] file...\n", argv0);
}
int