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>
This commit is contained in:
Xabier Oneca 2017-08-09 12:18:36 +02:00 committed by Denys Vlasenko
parent 4974917c5e
commit 5856dc74be

View File

@ -21,7 +21,9 @@
//usage:#define chcon_trivial_usage //usage:#define chcon_trivial_usage
//usage: "[OPTIONS] CONTEXT FILE..." //usage: "[OPTIONS] CONTEXT FILE..."
//usage: "\n chcon [OPTIONS] [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] 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: "\n chcon [OPTIONS] --reference=RFILE FILE..."
//usage: )
//usage: //usage:
//usage:#define chcon_full_usage "\n\n" //usage:#define chcon_full_usage "\n\n"
//usage: "Change the security context of each FILE to CONTEXT\n" //usage: "Change the security context of each FILE to CONTEXT\n"