diff options
author | Horst Kronstorfer <hkronsto@frequentis.com> | 2011-12-10 02:25:19 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-12-12 07:25:38 (GMT) |
commit | d798a9b5d50527713adc6309206a8d9f287593fb (patch) | |
tree | f54b5cb80226d33e535455497a16ed638f06594c /common/cmd_nvedit.c | |
parent | 5fb5da794514e5ea6d0062d4158b87e789ae39dc (diff) | |
download | u-boot-d798a9b5d50527713adc6309206a8d9f287593fb.tar.xz |
common/cmd_nvedit.c: Add missing 'env save' preproc guard
Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r-- | common/cmd_nvedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 5995354..baaa513 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" ); |