From: Andre Noll Date: Sun, 1 Jun 2008 16:33:18 +0000 (+0200) Subject: Let gengetopt check the given args. X-Git-Tag: v0.0.2~12 X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=commitdiff_plain;h=666df5bd9b383636650b6085b30fdcca9a9f2e36 Let gengetopt check the given args. --- diff --git a/adu.c b/adu.c index 8640067..821ce26 100644 --- a/adu.c +++ b/adu.c @@ -508,8 +508,8 @@ int main(int argc, char **argv) struct cmdline_parser_params params = { .override = 0, .initialize = 1, - .check_required = 0, - .check_ambiguity = 0, + .check_required = 1, + .check_ambiguity = 1, .print_errors = 1 };