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

View File

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