From: Xabier Oneca Date: Wed, 9 Aug 2017 10:18:36 +0000 (+0200) Subject: chcon: show '--reference' in help text only if LONG_OPTS=y X-Git-Tag: 1_28_0~158 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5856dc74be79fa288f481e1f19077518ae6d8303;p=oweals%2Fbusybox.git chcon: show '--reference' in help text only if LONG_OPTS=y Signed-off-by: Xabier Oneca Signed-off-by: Denys Vlasenko --- 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"