summaryrefslogtreecommitdiff
path: root/networking/whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/whois.c')
-rw-r--r--networking/whois.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/whois.c b/networking/whois.c
index 6ba8dfd..c9dfcf5 100644
--- a/networking/whois.c
+++ b/networking/whois.c
@@ -167,8 +167,8 @@ int whois_main(int argc UNUSED_PARAM, char **argv)
int port = 43;
const char *host = "whois.iana.org";
- opt_complementary = "-1:p+";
- getopt32(argv, "ih:p:", &host, &port);
+ opt_complementary = "-1";
+ getopt32(argv, "ih:p:+", &host, &port);
argv += optind;
do {