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 8640067..821ce26 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
        };