[hackers] [sbase] chown: update usage || Hiltjo Posthuma
commit 72b909df9cf9ff8df1bb9e88e7fd4f6597d7647f
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Thu Jul 10 20:31:51 2014 +0000
chown: update usage
Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
diff --git a/chown.1 b/chown.1
index c110e1d..66c1407 100644
--- a/chown.1
+++ b/chown.1
_AT_@ -3,7 +3,7 @@
chown \- change file ownership
.SH SYNOPSIS
.B chown
-.RB [ \-r ]
+.RB [ \-Rr ]
.RI [ owner ][: group ]
.RI [ file ...]
.SH DESCRIPTION
_AT_@ -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
index 85ee5b9..1cdaed5 100644
--- a/chown.c
+++ b/chown.c
_AT_@ -18,7 +18,7 @@ static int ret = EXIT_SUCCESS;
static void
usage(void)
{
- eprintf("usage: %s [-r] [owner][:[group]] file...
", argv0);
+ eprintf("usage: %s [-Rr] [owner][:[group]] file...
", argv0);
}
int
Received on Mon Jul 21 2014 - 17:43:58 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 17:48:20 CEST