summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-10-15 08:35:10 +0000
committerjmc <jmc@openbsd.org>2005-10-15 08:35:10 +0000
commit71bfe0a1c6ee46563b5a59d4fd28e2cef004eb34 (patch)
tree256460d0e173029e97fb10b4bfaaf8fe038bc7c3
parent- put description of -R in the correct place (diff)
downloadwireguard-openbsd-71bfe0a1c6ee46563b5a59d4fd28e2cef004eb34.tar.xz
wireguard-openbsd-71bfe0a1c6ee46563b5a59d4fd28e2cef004eb34.zip
- tidy up SYNOPSIS
- sort options list - ellipsis implies optional args; no need for .Op
-rw-r--r--bin/chmod/chgrp.125
1 files changed, 12 insertions, 13 deletions
diff --git a/bin/chmod/chgrp.1 b/bin/chmod/chgrp.1
index b5a80ef027d..4193e98aa30 100644
--- a/bin/chmod/chgrp.1
+++ b/bin/chmod/chgrp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chgrp.1,v 1.6 2004/02/14 18:14:14 jmc Exp $
+.\" $OpenBSD: chgrp.1,v 1.7 2005/10/15 08:35:10 jmc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -40,25 +40,33 @@
.Nd change group
.Sh SYNOPSIS
.Nm chgrp
+.Op Fl fh
.Oo
.Fl R
.Op Fl H | L | P
.Oc
-.Op Fl f
-.Op Fl h
.Ar group
-.Ar file Op Ar ...
+.Ar file ...
.Sh DESCRIPTION
.Nm
sets the group ID of the specified files.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl f
+The force option ignores errors, except for usage errors.
.It Fl H
If the
.Fl R
option is specified, symbolic links on the command line are followed.
(Symbolic links encountered in the tree traversal are not followed.)
+.It Fl h
+Change the group ID of the specified symbolic link.
+The
+.Fl h
+and
+.Fl R
+options are mutually exclusive.
.It Fl L
If the
.Fl R
@@ -70,15 +78,6 @@ option is specified, no symbolic links are followed.
.It Fl R
Change the group ID for the file hierarchies rooted
in the files instead of just the files themselves.
-.It Fl f
-The force option ignores errors, except for usage errors.
-.It Fl h
-Change the group ID of the specified symbolic link.
-The
-.Fl h
-and
-.Fl R
-options are mutually exclusive.
.El
.Pp
The