From 5ab82b10f02296232a14fde6dab1803559ab62e5 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 22 Apr 2024 22:00:56 +0200 Subject: [PATCH] doc: correct description of 'env print -e' If 'env print -e' is invoked without variable name, all UEFI variables are listed. Describe that 'env print -e' requires CONFIG_HEXDUMP=y to print content of UEFI variables. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/env.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/usage/cmd/env.rst b/doc/usage/cmd/env.rst index 040076bcc0..9629f97ffc 100644 --- a/doc/usage/cmd/env.rst +++ b/doc/usage/cmd/env.rst @@ -226,7 +226,7 @@ in UEFI variables. \-a all U-Boot environment, when 'name' is absent. \-e - print UEFI variables, all by default when 'name'. + print UEFI variables, all by default if 'name' is not provided. \-guid guid print only the UEFI variables matching this GUID (any by default) with guid format = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx". @@ -372,6 +372,10 @@ info load CONFIG_CMD_NVEDIT_LOAD +print + CONFIG_CMD_NVEDIT_EFI for UEFI variables support ('-e' option), + additionally CONFIG_HEXDUMP to display content of UEFI variables + run CONFIG_CMD_RUN @@ -381,5 +385,5 @@ save select CONFIG_CMD_NVEDIT_SELECT -set, print - CONFIG_CMD_NVEDIT_EFI for '-e' option +set + CONFIG_CMD_NVEDIT_EFI for UEFI variables support ('-e' option) -- 2.39.5