summaryrefslogtreecommitdiff
path: root/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'telnet.c')
-rw-r--r--telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telnet.c b/telnet.c
index b08effe..ed92a84 100644
--- a/telnet.c
+++ b/telnet.c
@@ -498,7 +498,7 @@ extern int telnet_main(int argc, char** argv)
cfmakeraw(&G.termios_raw);
- if (argc < 2) usage(telnet_usage);
+ if (argc < 2) show_usage();
port = (argc > 2)? getport(argv[2]): 23;
G.buf = xmalloc(DATABUFSIZE);