diff options
author | Trübenbach, Ralf <Ralf.Truebenbach@men.de> | 2010-04-14 11:15:16 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-05-06 00:37:50 +0200 |
commit | 39f7aacf3fd285b42b92c2c2d66d95339a3569cc (patch) | |
tree | 575d11c717287f2413829d1926462403c6aba322 /common/command.c | |
parent | 0738e24e2c1d95bb94455d44485dc5d7b9c9d707 (diff) | |
download | u-boot-imx-39f7aacf3fd285b42b92c2c2d66d95339a3569cc.zip u-boot-imx-39f7aacf3fd285b42b92c2c2d66d95339a3569cc.tar.gz u-boot-imx-39f7aacf3fd285b42b92c2c2d66d95339a3569cc.tar.bz2 |
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 Trübenbach <ralf.truebenbach@men.de>
Diffstat (limited to 'common/command.c')
-rw-r--r-- | common/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c index 0c66b7a..67ad692 100644 --- 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) |