sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 72b909df9cf9ff8df1bb9e88e7fd4f6597d7647f
parent ba8ca986a4c5c0e8ad419e7237da5b8dedd6002c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 10 Jul 2014 20:31:51 +0000

chown: update usage

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mchown.1 | 5++++-
Mchown.c | 2+-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/chown.1 b/chown.1 @@ -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 diff --git a/chown.c b/chown.c @@ -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