From 3fe0554a99d9a1d31ad00697abc1528ad7d0edaf Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 13 Jun 2006 16:03:12 +0000 Subject: [PATCH] telnet help should telnet to a host named help, not display a usage message. Only support ?, not help, to request help with the open command. The same change was made in netkit's telnet. Ticket: 3269 Component: krb5-appl Version_Reported: 1.4.2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18124 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnet/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appl/telnet/telnet/commands.c b/src/appl/telnet/telnet/commands.c index cb3390d38..f6c0fcdb4 100644 --- a/src/appl/telnet/telnet/commands.c +++ b/src/appl/telnet/telnet/commands.c @@ -2446,7 +2446,7 @@ tn(argc, argv) cmd = *argv; --argc; ++argv; while (argc) { - if (isprefix(*argv, "help") || isprefix(*argv, "?")) + if (isprefix(*argv, "?")) goto usage; if (strcmp(*argv, "-l") == 0) { --argc; ++argv; -- 2.26.2