[git commit] chcon: show '--reference' in help text only if LONG_OPTS=y
Denys Vlasenko
vda.linux at googlemail.com
Wed Aug 9 10:18:36 UTC 2017
commit: https://git.busybox.net/busybox/commit/?id=5856dc74be79fa288f481e1f19077518ae6d8303
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Xabier Oneca <xoneca at gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
selinux/chcon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/selinux/chcon.c b/selinux/chcon.c
index e77e9de..3ddb2dd 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"
More information about the busybox-cvs
mailing list