| 938 | } |
| 939 | |
| 940 | static void msh_opt_help(msh_cmd_opt_t *cmd_opt) |
| 941 | { |
| 942 | msh_cmd_opt_t *opt = cmd_opt; |
| 943 | |
| 944 | for (; opt->id; opt++) |
| 945 | { |
| 946 | rt_kprintf("%-16s - %s\n", opt->name, opt->des); |
| 947 | } |
| 948 | rt_kprintf("\n"); |
| 949 | } |
| 950 | |
| 951 | void msh_opt_auto_complete(char *prefix) |
| 952 | { |
no test coverage detected