summaryrefslogtreecommitdiff
path: root/src/chgrp.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2023-02-23 15:22:14 +0000
committerPádraig Brady <P@draigBrady.com>2023-02-23 15:22:14 +0000
commitc97c40c3b4f5338b1c8689002f50d523b9cff2a0 (patch)
tree4880ca3473824b742d752c85ef27b7363888c1b7 /src/chgrp.c
parent3edbf016be774e266a659349f513fe265c842e26 (diff)
downloadcoreutils-c97c40c3b4f5338b1c8689002f50d523b9cff2a0.tar.gz
doc: chgrp,chmod,chown: state --reference always dereferences
* src/chgrp.c (usage): State that --reference always dereferences symbolic links. * src/chmod.c (usage): Likewise. * src/chown.c (usage): Likewise. Fixes https://bugs.gnu.org/61720
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index e695328e9..141413352 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -136,8 +136,8 @@ With --reference, change the group of each FILE to that of RFILE.\n\
--preserve-root fail to operate recursively on '/'\n\
"), stdout);
fputs (_("\
- --reference=RFILE use RFILE's group rather than specifying a\n\
- GROUP value\n\
+ --reference=RFILE use RFILE's group rather than specifying a GROUP.\n\
+ RFILE is always dereferenced if a symbolic link.\n\
"), stdout);
fputs (_("\
-R, --recursive operate on files and directories recursively\n\