projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0738e24
)
command.c: Enable auto tab for the editenv command
author
Trübenbach, Ralf
<Ralf.Truebenbach@men.de>
Wed, 14 Apr 2010 09:15:16 +0000
(11:15 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 5 May 2010 22:37:50 +0000
(
00:37
+0200)
Enable the auto completion (with TAB) of the environment variable name
after the editenv command.
Signed-off-by: Ralf Trübenbach <ralf.truebenbach@men.de>
common/command.c
patch
|
blob
|
history
diff --git
a/common/command.c
b/common/command.c
index 0c66b7a1d9361e994fd0b7cff97c180d47f600ec..67ad692004edfe233b48893133b0932d5636d7df 100644
(file)
--- a/
common/command.c
+++ b/
common/command.c
@@
-188,6
+188,9
@@
static void install_auto_complete_handler(const char *cmd,
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)