From 4796bc4bbc895c4ee045e4299daa04beb096cbb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Fri, 10 Aug 2012 07:45:44 +0000 Subject: [PATCH] env import/export: Remove from help if disabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Acked-by: Mike Frysinger --- common/cmd_nvedit.c | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.5