diff options
author | Trübenbach, Ralf <Ralf.Truebenbach@men.de> | 2010-04-14 09:15:16 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-05-05 22:37:50 (GMT) |
commit | 39f7aacf3fd285b42b92c2c2d66d95339a3569cc (patch) | |
tree | 575d11c717287f2413829d1926462403c6aba322 /common | |
parent | 0738e24e2c1d95bb94455d44485dc5d7b9c9d707 (diff) | |
download | u-boot-fsl-qoriq-39f7aacf3fd285b42b92c2c2d66d95339a3569cc.tar.xz |
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')
-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) |