From: Benoît Thébaudeau Date: Fri, 10 Aug 2012 07:45:44 +0000 (+0000) Subject: env import/export: Remove from help if disabled X-Git-Tag: v2012.10-rc1~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4796bc4bbc895c4ee045e4299daa04beb096cbb6;p=u-boot env import/export: Remove from help if disabled Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Acked-by: Mike Frysinger --- 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"