[U-Boot] [PATCH] command.c: Enable auto tab for the editenv command
Ralf Trübenbach
Ralf.Truebenbach at men.de
Thu Apr 8 17:40:31 CEST 2010
Enable the auto completion (with TAB) of the environment variable name
after the editenv command.
Signed-off-by: Ralf Trübenbach <ralf.truebenbach at men.de>
---
=== modified file 'common/command.c' (properties changed: -x to +x)
--- common/command.c 2009-11-22 23:06:11 +0000
+++ common/command.c 2010-04-08 15:12:44 +0000
@@ -188,6 +188,9 @@
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("setenv", var_complete);
#if defined(CONFIG_CMD_RUN)
More information about the U-Boot
mailing list