diff options
Diffstat (limited to 'networking/whois.c')
-rw-r--r-- | networking/whois.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/whois.c b/networking/whois.c index 0cb7e54..fd1cdf4 100644 --- a/networking/whois.c +++ b/networking/whois.c @@ -167,8 +167,7 @@ int whois_main(int argc UNUSED_PARAM, char **argv) int port = 43; const char *host = "whois.iana.org"; - opt_complementary = "-1"; - getopt32(argv, "ih:p:+", &host, &port); + getopt32(argv, "^" "ih:p:+" "\0" "-1", &host, &port); argv += optind; do { |