From 85ec7d832b3c05bb26611469216f76d800ddc040 Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Mon, 9 Feb 2015 21:26:53 +0000 Subject: [PATCH 4/8] chgrp.1: add symlink derefencing flags to manpage --- chgrp.1 | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/chgrp.1 b/chgrp.1 index c9a0573..7e24699 100644 --- a/chgrp.1 +++ b/chgrp.1 @@ -7,6 +7,9 @@ .Sh SYNOPSIS .Nm .Op Fl R +.Op Fl H +.Op Fl L +.Op Fl P .Ar groupname .Op Ar file... .Sh DESCRIPTION @@ -15,10 +18,18 @@ sets the group id of the files specified by .Ar file to the gid of the group named .Ar group. -If the -.Fl R -flag is specified, this process is recursively applied to -everything in +.El +.Sh OPTIONS +.Bl -tag -width Ds +.It Fl R +Change file group ownership recursively. +.It Fl H +Only dereference symbolic links that are passed as command line arguments when +recursively traversing directories. +.It Fl L +Always dereference symbolic links while recursively traversing directories. +.It Fl P +Don't dereference symbolic links (default). .Ar file . .Sh SEE ALSO .Xr chmod 1 , -- 2.3.0