diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-10 11:45:44 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-18 23:01:51 +0400 |
commit | 4796bc4bbc895c4ee045e4299daa04beb096cbb6 (patch) | |
tree | 860a50d530ed97d9e915af23c5d7515460413e97 /common/cmd_nvedit.c | |
parent | b8496cced856ff411f1eb2e4eff20f5abe7080b0 (diff) | |
download | u-boot-4796bc4bbc895c4ee045e4299daa04beb096cbb6.tar.xz |
env import/export: Remove from help if disabled
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r-- | common/cmd_nvedit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index fd05e725d7..0f320cc724 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -954,11 +954,15 @@ U_BOOT_CMD( #if defined(CONFIG_CMD_EDITENV) "env edit name - edit environment variable\n" #endif +#if defined(CONFIG_CMD_EXPORTENV) "env export [-t | -b | -c] [-s size] addr [var ...] - export environment\n" +#endif #if defined(CONFIG_CMD_GREPENV) "env grep string [...] - search environment\n" #endif +#if defined(CONFIG_CMD_IMPORTENV) "env import [-d] [-t | -b | -c] addr [size] - import environment\n" +#endif "env print [name ...] - print environment\n" #if defined(CONFIG_CMD_RUN) "env run var [...] - run commands in an environment variable\n" |