From: Roy Marples Date: Fri, 4 Dec 2015 14:41:27 +0000 (+0000) Subject: noptions requires an argument. X-Git-Tag: v6.10.0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5114e3dc160c4b29d4c4f39c05e52eb7fad680de;p=thirdparty%2Fdhcpcd.git noptions requires an argument. Fixes [9e55971edd]. --- diff --git a/if-options.c b/if-options.c index 1a6d981f..4cfc5188 100644 --- a/if-options.c +++ b/if-options.c @@ -145,7 +145,7 @@ const struct option cf_options[] = { {"noipv4ll", no_argument, NULL, 'L'}, {"master", no_argument, NULL, 'M'}, {"renew", no_argument, NULL, 'N'}, - {"nooption", optional_argument, NULL, 'O'}, + {"nooption", required_argument, NULL, 'O'}, {"require", required_argument, NULL, 'Q'}, {"static", required_argument, NULL, 'S'}, {"test", no_argument, NULL, 'T'},