summaryrefslogtreecommitdiff
path: root/src/chcon.c
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2012-10-15 19:37:34 +0200
committerPádraig Brady <P@draigBrady.com>2012-11-09 13:16:36 +0000
commit2aeb77bf0f005a079ebaa78caf0b4d21ff10563c (patch)
treeb0dcfe7bead222b12be3253cd141abf267f0ab41 /src/chcon.c
parent51e7c777f827899e196812552f30d7457372e503 (diff)
downloadcoreutils-2aeb77bf0f005a079ebaa78caf0b4d21ff10563c.tar.xz
doc: chcon: add descriptions for three undocumented options
These were missed in this related change v8.14-104-g44e20cd * src/chcon.c (usage): Mention the two --preserve-root options. * doc/coreutils.texi (chcon invocation): Plus the --dereferece option.
Diffstat (limited to 'src/chcon.c')
-rw-r--r--src/chcon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chcon.c b/src/chcon.c
index 34e92e411..66075f562 100644
--- a/src/chcon.c
+++ b/src/chcon.c
@@ -371,6 +371,10 @@ With --reference, change the security context of each FILE to that of RFILE.\n\
-l, --range=RANGE set range RANGE in the target security context\n\
"), stdout);
fputs (_("\
+ --no-preserve-root do not treat '/' specially (the default)\n\
+ --preserve-root fail to operate recursively on '/'\n\
+"), stdout);
+ fputs (_("\
--reference=RFILE use RFILE's security context rather than specifying\n\
a CONTEXT value\n\
"), stdout);