aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorXabier Oneca <xoneca@gmail.com>2017-08-09 12:18:36 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-09 12:18:36 +0200
commit5856dc74be79fa288f481e1f19077518ae6d8303 (patch)
treeb0fa7279bc4253f165dffbddbb94d7cff481c5ba /selinux
parent4974917c5e892929d7abef244d9aef9094b947f4 (diff)
downloadbusybox-5856dc74be79fa288f481e1f19077518ae6d8303.tar.gz
chcon: show '--reference' in help text only if LONG_OPTS=y
Signed-off-by: Xabier Oneca <xoneca@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/chcon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index e77e9ded5..3ddb2dd46 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -21,7 +21,9 @@
//usage:#define chcon_trivial_usage
//usage: "[OPTIONS] CONTEXT FILE..."
//usage: "\n chcon [OPTIONS] [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE..."
+//usage: IF_LONG_OPTS(
//usage: "\n chcon [OPTIONS] --reference=RFILE FILE..."
+//usage: )
//usage:
//usage:#define chcon_full_usage "\n\n"
//usage: "Change the security context of each FILE to CONTEXT\n"