From: Heinrich Schuchardt Date: Mon, 22 Apr 2024 20:00:56 +0000 (+0200) Subject: doc: correct description of 'env print -e' X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5ab82b10f02296232a14fde6dab1803559ab62e5;p=u-boot.git 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 --- 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)