mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-07 15:56:59 +02:00
cmd: nvedit: fix efi env -e -i command help
The help string for the `setenv -e' command shows a comma being used as the separator between address and size for the -i option, which deals with UEFI Variables contents passed as a buffer in memory. This is no longer the case since commit2b3fbcb59f
("efi_loader: use ':' as separator for setenv -i") and commit8f0ac536d4
("efi: change 'env -e -i' usage syntax"), which changed the separator from a comma to a colon. Therefore fix this last bit of the help string accordingly. While at it, fix the comment of function do_env_set_efi(), which also mentions a comma as separator. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Tom Rini <trini@konsulko.com> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org> Cc: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
de56e5c9eb
commit
2865a8590f
@ -1263,7 +1263,7 @@ U_BOOT_CMD_COMPLETE(
|
|||||||
" \"-rt\": set runtime attribute\n"
|
" \"-rt\": set runtime attribute\n"
|
||||||
" \"-at\": set time-based authentication attribute\n"
|
" \"-at\": set time-based authentication attribute\n"
|
||||||
" \"-a\": append-write\n"
|
" \"-a\": append-write\n"
|
||||||
" \"-i addr,size\": use <addr,size> as variable's value\n"
|
" \"-i addr:size\": use <addr,size> as variable's value\n"
|
||||||
" \"-v\": verbose message\n"
|
" \"-v\": verbose message\n"
|
||||||
" - delete UEFI variable 'name' if 'value' not specified\n"
|
" - delete UEFI variable 'name' if 'value' not specified\n"
|
||||||
#endif
|
#endif
|
||||||
|
@ -367,7 +367,7 @@ out:
|
|||||||
*
|
*
|
||||||
* This function is for "env set -e" or "setenv -e" command:
|
* This function is for "env set -e" or "setenv -e" command:
|
||||||
* => env set -e [-guid guid][-nv][-bs][-rt][-at][-a][-v]
|
* => env set -e [-guid guid][-nv][-bs][-rt][-at][-a][-v]
|
||||||
* [-i address,size] var, or
|
* [-i address:size] var, or
|
||||||
* var [value ...]
|
* var [value ...]
|
||||||
* Encode values specified and set given UEFI variable.
|
* Encode values specified and set given UEFI variable.
|
||||||
* If no value is specified, delete the variable.
|
* If no value is specified, delete the variable.
|
||||||
|
Loading…
Reference in New Issue
Block a user