diff options
author | xrs <xrs@mail36.net> | 2019-06-22 22:57:55 +0200 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2019-06-22 22:57:55 +0200 |
commit | d6c25f60406596d84900aa6ac012bf8ce111d57c (patch) | |
tree | 7418c56cf25b7e0fc4e84c714f76deddf15f75f6 /src/util/getopt_helpers.c | |
parent | 93c332be89c4c65f10b7c4c49b6ed15d91b91884 (diff) | |
download | gnunet-d6c25f60406596d84900aa6ac012bf8ce111d57c.tar.gz gnunet-d6c25f60406596d84900aa6ac012bf8ce111d57c.zip |
add flag for exlusive options as program agruments
Diffstat (limited to 'src/util/getopt_helpers.c')
-rw-r--r-- | src/util/getopt_helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
68 | .shortName = 'v', | 68 | .shortName = 'v', |
69 | .name = "version", | 69 | .name = "version", |
70 | .description = gettext_noop("print the version number"), | 70 | .description = gettext_noop("print the version number"), |
71 | .option_exclusive = 1, | ||
71 | .processor = &print_version, | 72 | .processor = &print_version, |
72 | .scls = (void *) version | 73 | .scls = (void *) version |
73 | }; | 74 | }; |