summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-01-10 00:29:00 +0000
committerache <ache@FreeBSD.org>1997-01-10 00:29:00 +0000
commit54bc288fc10250c0ecf752deb774ba397ec67abe (patch)
treeae2fbc10db93d90f9aa4f2e49faff730e2ebe75c /usr.bin/telnet
parent5fb5a32d2d9bacae2f46356cfbb8dd5800b55794 (diff)
downloadFreeBSD-src-54bc288fc10250c0ecf752deb774ba397ec67abe.zip
FreeBSD-src-54bc288fc10250c0ecf752deb774ba397ec67abe.tar.gz
Make 'skey' command visible through 'help'
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r--usr.bin/telnet/commands.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index ea58c0c..6e955de 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -2356,6 +2356,9 @@ static char
#if defined(unix)
zhelp[] = "suspend telnet",
#endif /* defined(unix) */
+#if defined(SKEY)
+ skeyhelp[] = "compute response to s/key challenge",
+#endif
shellhelp[] = "invoke a subshell",
envhelp[] = "change environment variables ('environ ?' for more)",
modestring[] = "try to enter line or character mode ('mode ?' for more)";
@@ -2393,7 +2396,7 @@ static Command cmdtab[] = {
{ "environ", envhelp, env_cmd, 0 },
{ "?", helphelp, help, 0 },
#if defined(SKEY)
- { "skey", NULL, skey_calc, 0 },
+ { "skey", skeyhelp, skey_calc, 0 },
#endif
0
};
OpenPOWER on IntegriCloud