summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selinux/matchpathcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/matchpathcon.c b/selinux/matchpathcon.c
index c9ebbd7..83ea75d 100644
--- a/selinux/matchpathcon.c
+++ b/selinux/matchpathcon.c
@@ -36,8 +36,8 @@ int matchpathcon_main(int argc, char **argv)
unsigned opts;
char *fcontext, *prefix, *path;
- opt_complementary = "-1:" /* at least one param reqd */
- "f--p:p--f"; /* mutually exclusive */
+ opt_complementary = "-1" /* at least one param reqd */
+ ":?:f--p:p--f"; /* mutually exclusive */
opts = getopt32(argc, argv, "nNf:p:V", &fcontext, &prefix);
argv += optind;