diff options
Diffstat (limited to 'components/finsh/shell.c')
| -rw-r--r-- | components/finsh/shell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c index b55eb32316..db5f286285 100644 --- a/components/finsh/shell.c +++ b/components/finsh/shell.c @@ -381,6 +381,10 @@ static void shell_auto_complete(char *prefix) rt_kprintf("\n"); msh_auto_complete(prefix); +#ifdef FINSH_USING_OPTION_COMPLETION + msh_opt_auto_complete(prefix); +#endif + rt_kprintf("%s%s", FINSH_PROMPT, prefix); } |
