diff options
author | Marco d'Itri <md@linux.it> | 2015-08-30 01:18:17 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2015-08-30 01:18:17 +0200 |
commit | ea2eb4442148579be0dec4c18c3033ddd2d4ac32 (patch) | |
tree | de29173c7ed59edffdc20df5e26a84b2fee53d91 /whois.c | |
parent | c9908493221f25e8968dae98206182c35dfeeea1 (diff) | |
download | whois-ea2eb4442148579be0dec4c18c3033ddd2d4ac32.tar.gz |
Fix the --select-types and --sources long options
This bug was found by the awesome american fuzzy lop!
Diffstat (limited to 'whois.c')
-rw-r--r-- | whois.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,9 +102,9 @@ int main(int argc, char *argv[]) {"no-referenced", no_argument, NULL, 'r'}, {"no-filtering", no_argument, NULL, 'B'}, {"no-grouping", no_argument, NULL, 'G'}, - {"select-types", no_argument, NULL, 'T'}, + {"select-types", required_argument, NULL, 'T'}, {"all-sources", no_argument, NULL, 'a'}, - {"sources", no_argument, NULL, 's'}, + {"sources", required_argument, NULL, 's'}, {"types", no_argument, NULL, 12 }, /* -q */ {"ripe-version", no_argument, NULL, 12 }, /* -q */ {"list-sources", no_argument, NULL, 12 }, /* -q */ |