]> git.tuebingen.mpg.de Git - adu.git/commitdiff
Let gengetopt check the given args.
authorAndre Noll <maan@systemlinux.org>
Sun, 1 Jun 2008 16:33:18 +0000 (18:33 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Jun 2008 16:33:18 +0000 (18:33 +0200)
adu.c

diff --git a/adu.c b/adu.c
index 86400677fc5d989a6163ed7f44771d61e73c80bc..821ce26fdd8bcd1e632171eb4c24dbe77aef105f 100644 (file)
--- 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
        };