CLI problem

I used the CLI sample code for some tests. I watch something rare when write the first letter of a command like “reset” (put an “r” + enter) and the system recognize automatically like a “reset”. Or when i put “s” showed the network settings. how can i do to recognize the complete word ?.

NetOs 7.4, ConnectCore 9C + DevKit.


I solved the problem. Just edit the function “cli_parse_command” , in
“cli.c”. Changing:

"if (info->command_length != 0) "