mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
command.c: Enable auto tab for the editenv command
Enable the auto completion (with TAB) of the environment variable name after the editenv command. Signed-off-by: Ralf Trbenbach <ralf.truebenbach@men.de>
This commit is contained in:
parent
0738e24e2c
commit
39f7aacf3f
@ -188,6 +188,9 @@ static void install_auto_complete_handler(const char *cmd,
|
|||||||
|
|
||||||
void install_auto_complete(void)
|
void install_auto_complete(void)
|
||||||
{
|
{
|
||||||
|
#if defined(CONFIG_CMD_EDITENV)
|
||||||
|
install_auto_complete_handler("editenv", var_complete);
|
||||||
|
#endif
|
||||||
install_auto_complete_handler("printenv", var_complete);
|
install_auto_complete_handler("printenv", var_complete);
|
||||||
install_auto_complete_handler("setenv", var_complete);
|
install_auto_complete_handler("setenv", var_complete);
|
||||||
#if defined(CONFIG_CMD_RUN)
|
#if defined(CONFIG_CMD_RUN)
|
||||||
|
Loading…
Reference in New Issue
Block a user