From: Horst Kronstorfer Date: Sat, 10 Dec 2011 02:25:19 +0000 (+0000) Subject: common/cmd_nvedit.c: Add missing 'env save' preproc guard X-Git-Tag: v2025.01-rc5-pxa1908~18293 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=d798a9b5d50527713adc6309206a8d9f287593fb;p=u-boot.git common/cmd_nvedit.c: Add missing 'env save' preproc guard Signed-off-by: Horst Kronstorfer --- diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 599535449e..baaa513f6b 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -977,7 +977,9 @@ U_BOOT_CMD( #if defined(CONFIG_CMD_RUN) "env run var [...] - run commands in an environment variable\n" #endif +#if defined(CONFIG_CMD_SAVEENV) && !defined(CONFIG_ENV_IS_NOWHERE) "env save - save environment\n" +#endif "env set [-f] name [arg ...]\n" );