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

Tom Fitzhenry tom at tom-fitzhenry.me.uk
Tue Oct 24 13:59:06 CEST 2023


---
 doc/usage/cmd/gpt.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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