--- libaitcli/src/aitcli.c 2013/10/08 09:30:55 1.8.2.4 +++ libaitcli/src/aitcli.c 2013/10/08 09:38:55 1.8.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcli.c,v 1.8.2.4 2013/10/08 09:30:55 misho Exp $ +* $Id: aitcli.c,v 1.8.2.5 2013/10/08 09:38:55 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -499,7 +499,7 @@ bufHelp(int idx, void * __restrict cli_buffer) if (!cli_buffer || idx < 0 || idx > MAX_BINDKEY) return RETCODE_ERR; - cli_Cmd_Help(buf, -1, NULL); + cli_Cmd_Help(buf, buf->line_level, NULL); printfEOL(buf, buf->line_len - 1, 1); printfEOL(buf, -1, 1);