Merge tag 'u-boot-stm32-20190606' of https://github.com/pchotard/u-boot
[project/bcm63xx/u-boot.git] / cmd / nvedit.c
index 5d723acdee9a174c1d796ba0d6bebca4fbe943ab..49d3b5bdf466276bea6c33479b0b2139ed3160f5 100644 (file)
@@ -1350,8 +1350,9 @@ U_BOOT_CMD_COMPLETE(
        setenv, CONFIG_SYS_MAXARGS, 0,  do_env_set,
        "set environment variables",
 #if defined(CONFIG_CMD_NVEDIT_EFI)
-       "-e name [value ...]\n"
+       "-e [-nv] name [value ...]\n"
        "    - set UEFI variable 'name' to 'value' ...'\n"
+       "      'nv' option makes the variable non-volatile\n"
        "    - delete UEFI variable 'name' if 'value' not specified\n"
 #endif
        "setenv [-f] name value ...\n"