mirror of
https://github.com/rfc1036/whois.git
synced 2026-05-03 06:51:09 +00:00
Fix the --select-types and --sources long options
This bug was found by the awesome american fuzzy lop!
This commit is contained in:
parent
c990849322
commit
ea2eb44421
4
whois.c
4
whois.c
@ -102,9 +102,9 @@ int main(int argc, char *argv[])
|
|||||||
{"no-referenced", no_argument, NULL, 'r'},
|
{"no-referenced", no_argument, NULL, 'r'},
|
||||||
{"no-filtering", no_argument, NULL, 'B'},
|
{"no-filtering", no_argument, NULL, 'B'},
|
||||||
{"no-grouping", no_argument, NULL, 'G'},
|
{"no-grouping", no_argument, NULL, 'G'},
|
||||||
{"select-types", no_argument, NULL, 'T'},
|
{"select-types", required_argument, NULL, 'T'},
|
||||||
{"all-sources", no_argument, NULL, 'a'},
|
{"all-sources", no_argument, NULL, 'a'},
|
||||||
{"sources", no_argument, NULL, 's'},
|
{"sources", required_argument, NULL, 's'},
|
||||||
{"types", no_argument, NULL, 12 }, /* -q */
|
{"types", no_argument, NULL, 12 }, /* -q */
|
||||||
{"ripe-version", no_argument, NULL, 12 }, /* -q */
|
{"ripe-version", no_argument, NULL, 12 }, /* -q */
|
||||||
{"list-sources", no_argument, NULL, 12 }, /* -q */
|
{"list-sources", no_argument, NULL, 12 }, /* -q */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user