From d6c25f60406596d84900aa6ac012bf8ce111d57c Mon Sep 17 00:00:00 2001 From: xrs Date: Sat, 22 Jun 2019 22:57:55 +0200 Subject: add flag for exlusive options as program agruments --- src/util/getopt_helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util/getopt_helpers.c') diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c index 77032e501..d6ba85733 100644 --- a/src/util/getopt_helpers.c +++ b/src/util/getopt_helpers.c @@ -68,6 +68,7 @@ GNUNET_GETOPT_option_version (const char *version) .shortName = 'v', .name = "version", .description = gettext_noop("print the version number"), + .option_exclusive = 1, .processor = &print_version, .scls = (void *) version }; -- cgit v1.2.3