From f44a218e5c565d88cb7391ad059aba9547b8b73f Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Wed, 9 Oct 2013 14:26:24 -0400 Subject: [PATCH] handle-unknown should be an optional argument --- checkpolicy/checkpolicy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpolicy/checkpolicy.c b/checkpolicy/checkpolicy.c index 544f2350..292f5689 100644 --- a/checkpolicy/checkpolicy.c +++ b/checkpolicy/checkpolicy.c @@ -402,7 +402,7 @@ int main(int argc, char **argv) {"binary", no_argument, NULL, 'b'}, {"debug", no_argument, NULL, 'd'}, {"version", no_argument, NULL, 'V'}, - {"handle-unknown", optional_argument, NULL, 'U'}, + {"handle-unknown", required_argument, NULL, 'U'}, {"mls", no_argument, NULL, 'M'}, {"help", no_argument, NULL, 'h'}, {NULL, 0, NULL, 0}