diff options
-rw-r--r-- | selinux/chcon.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c index d7ff40816..b7d7d5a9e 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -133,9 +133,12 @@ int chcon_main(int argc, char *argv[]) | |||
133 | #if ENABLE_FEATURE_CHCON_LONG_OPTIONS | 133 | #if ENABLE_FEATURE_CHCON_LONG_OPTIONS |
134 | applet_long_options = chcon_options; | 134 | applet_long_options = chcon_options; |
135 | #endif | 135 | #endif |
136 | opt_complementary = "-1" /* at least 1 param */ | 136 | opt_complementary = "-1" /* at least 1 param */ |
137 | ":?:f--v:v--f" /* 'verbose' and 'quiet' are exclusive */ | 137 | ":?" /* error if exclusivity constraints are violated */ |
138 | ":\xff--urtl:u--\xff:r--\xff:t--\xff:l--\xff"; | 138 | #if ENABLE_FEATURE_CHCON_LONG_OPTIONS |
139 | ":\xff--urtl:u--\xff:r--\xff:t--\xff:l--\xff" | ||
140 | #endif | ||
141 | ":f--v:v--f"; /* 'verbose' and 'quiet' are exclusive */ | ||
139 | getopt32(argc, argv, "Rchf:u:r:t:l:v", | 142 | getopt32(argc, argv, "Rchf:u:r:t:l:v", |
140 | &user, &role, &type, &range, &reference_file); | 143 | &user, &role, &type, &range, &reference_file); |
141 | argv += optind; | 144 | argv += optind; |