diff --git a/telnet/commands.c b/telnet/commands.c index 9e04944f..3b05800f 100644 --- a/telnet/commands.c +++ b/telnet/commands.c @@ -3090,7 +3090,7 @@ help (int argc, char *argv[]) printf ("?Ambiguous help command %s\n", arg); else if (c == (Command *) 0) printf ("?Invalid help command %s\n", arg); - else + else if (c->help) printf ("%s\n", c->help); } return 0;