[PATCH] doc: gpt: fix example of echoing variable

Simon Glass sjg at google.com
Tue Oct 24 20:03:16 CEST 2023


On Tue, 24 Oct 2023 at 05:00, Tom Fitzhenry <tom at tom-fitzhenry.me.uk> wrote:
>
> ---
>  doc/usage/cmd/gpt.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

It could use 'print' instead, I suppose.


> diff --git a/doc/usage/cmd/gpt.rst b/doc/usage/cmd/gpt.rst
> index f6115ecb0ee..ea43218fa21 100644
> --- a/doc/usage/cmd/gpt.rst
> +++ b/doc/usage/cmd/gpt.rst
> @@ -192,7 +192,7 @@ Get the information about the partition named 'rootfs'::
>  Get the list of partition names on the disk::
>
>      => gpt enumerate
> -    => echo gpt_partition_list
> +    => echo ${gpt_partition_list}
>      boot rootfs system-data [ext] user modules ramdisk
>
>
> --
> 2.42.0
>


More information about the U-Boot mailing list