version 1.6.4.5, 2013/10/08 11:30:00
|
version 1.6.4.6, 2013/10/08 12:01:59
|
Line 143 cli_Cmd_Config(void * __restrict cli_buffer, int idx,
|
Line 143 cli_Cmd_Config(void * __restrict cli_buffer, int idx,
|
return RETCODE_ERR; |
return RETCODE_ERR; |
|
|
buf->line_level++; |
buf->line_level++; |
|
cli_Printf(buf, "Enter to config level %d\n", buf->line_level); |
return RETCODE_OK; |
return RETCODE_OK; |
} |
} |
|
|
Line 163 cli_Cmd_End(void * __restrict cli_buffer, int idx, cha
|
Line 164 cli_Cmd_End(void * __restrict cli_buffer, int idx, cha
|
return cli_Cmd_Exit(cli_buffer, idx, args); |
return cli_Cmd_Exit(cli_buffer, idx, args); |
|
|
buf->line_level--; |
buf->line_level--; |
|
cli_Printf(buf, "Enter to config level %d\n", buf->line_level); |
return RETCODE_OK; |
return RETCODE_OK; |
} |
} |
|
|
Line 180 cli_Cmd_Top(void * __restrict cli_buffer, int idx, cha
|
Line 182 cli_Cmd_Top(void * __restrict cli_buffer, int idx, cha
|
linebuffer_t *buf = cli_buffer; |
linebuffer_t *buf = cli_buffer; |
|
|
buf->line_level ^= buf->line_level; |
buf->line_level ^= buf->line_level; |
|
cli_Printf(buf, "Enter to top config level %d\n", buf->line_level); |
return RETCODE_OK; |
return RETCODE_OK; |
} |
} |
|
|
Line 196 cli_Cmd_WhereAmI(void * __restrict cli_buffer, int idx
|
Line 199 cli_Cmd_WhereAmI(void * __restrict cli_buffer, int idx
|
{ |
{ |
linebuffer_t *buf = cli_buffer; |
linebuffer_t *buf = cli_buffer; |
|
|
cli_Printf(buf, "Current console level is %d\n", buf->line_level); | cli_Printf(buf, "Current config level is %d\n", buf->line_level); |
return RETCODE_OK; |
return RETCODE_OK; |
} |
} |