aboutsummaryrefslogtreecommitdiff
path: root/cmd/nvedit.c
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2020-08-28 22:20:10 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-09-18 22:23:58 +0200
commit8f0ac536d4937d07a95fcc56756c14ef7a94e397 (patch)
tree330da362e3fd99d5ab994ab723e97338a57be6a5 /cmd/nvedit.c
parent52a8481827511a0837b4944d1184214ac924a123 (diff)
downloadu-boot-8f0ac536d4937d07a95fcc56756c14ef7a94e397.zip
u-boot-8f0ac536d4937d07a95fcc56756c14ef7a94e397.tar.gz
u-boot-8f0ac536d4937d07a95fcc56756c14ef7a94e397.tar.bz2
efi: change 'env -e -i' usage syntax
'env -e -i' syntax was changed from "," to ":". Account for this also in the documentation. Fixes: 2b3fbcb59f41 ("efi_loader: use ':' as separator for setenv -i") Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Correct the usage description for setenv -e too. Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd/nvedit.c')
-rw-r--r--cmd/nvedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index 9f145dd..7fce723 100644
--- a/cmd/nvedit.c
+++ b/cmd/nvedit.c
@@ -1477,7 +1477,7 @@ static char env_help_text[] =
"env select [target] - select environment target\n"
#endif
#if defined(CONFIG_CMD_NVEDIT_EFI)
- "env set -e [-nv][-bs][-rt][-at][-a][-i addr,size][-v] name [arg ...]\n"
+ "env set -e [-nv][-bs][-rt][-at][-a][-i addr:size][-v] name [arg ...]\n"
" - set UEFI variable; unset if '-i' or 'arg' not specified\n"
#endif
"env set [-f] name [arg ...]\n";
@@ -1541,7 +1541,7 @@ U_BOOT_CMD_COMPLETE(
"set environment variables",
#if defined(CONFIG_CMD_NVEDIT_EFI)
"-e [-guid guid][-nv][-bs][-rt][-at][-a][-v]\n"
- " [-i addr,size name], or [name [value ...]]\n"
+ " [-i addr:size name], or [name [value ...]]\n"
" - set UEFI variable 'name' to 'value' ...'\n"
" \"-guid\": GUID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n"
" \"-nv\": set non-volatile attribute\n"