The -guid option was added in commit 051aa89f46ca ("cmd: env: extend
"env [set|print] -e" to manage UEFI variables"), but not documented
for the "env set -e" command.

Signed-off-by: Fiona Klute <[email protected]>
Cc: Tom Rini <[email protected]>
---
 cmd/nvedit.c          | 2 +-
 doc/usage/cmd/env.rst | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index 636bddee1be..b29d3eb5ead 100644
--- a/cmd/nvedit.c
+++ b/cmd/nvedit.c
@@ -1195,7 +1195,7 @@ U_BOOT_LONGHELP(env,
        "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 [-guid guid][-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");
diff --git a/doc/usage/cmd/env.rst b/doc/usage/cmd/env.rst
index b65d85b6681..628184db109 100644
--- a/doc/usage/cmd/env.rst
+++ b/doc/usage/cmd/env.rst
@@ -30,7 +30,7 @@ Synopsis
        env save
        env select [target]
        env set [-f] name [value]
-       env set -e [-nv][-bs][-rt][-at][-a][-i addr:size][-v] name [value]
+       env set -e [-guid guid][-nv][-bs][-rt][-at][-a][-i addr:size][-v] name 
[value]
 
 Description
 -----------
@@ -274,6 +274,8 @@ U-Boot variable in environment or UEFI variables (when -e 
is specified).
         forcibly, overwrite read-only/write-once U-Boot variables.
     \-e
         update UEFI variables.
+    \-guid guid
+        set UEFI variable with this GUID (only with '-e')
     \-nv
         set non-volatile attribute (UEFI).
     \-bs
-- 
2.55.0

Reply via email to