From 5bb1d1f9dac08dd84ea1d62eefaf5b7cbba8fe1a Mon Sep 17 00:00:00 2001
From: =?utf8?q?Micka=C3=ABl=20Tansorier?= <mickael.tansorier@smile.fr>
Date: Sat, 16 Sep 2023 00:11:53 +0200
Subject: [PATCH] doc: usage: load: document part as hexadecimal
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

`part` option is in hexadecimal, so information is missing in usage
documentation.

Callgraph for `part` parsing is :
do_load -> fs_set_blk_dev -> part_get_info_by_dev_and_name_or_num ->
blk_get_device_part_str -> hextoul (This is why it is hexadecimal)

Signed-off-by: Mickaël Tansorier <mickael.tansorier@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
 doc/usage/cmd/load.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/usage/cmd/load.rst b/doc/usage/cmd/load.rst
index 1efee77317..2c892ee1cb 100644
--- a/doc/usage/cmd/load.rst
+++ b/doc/usage/cmd/load.rst
@@ -40,7 +40,7 @@ bytes
 pos
     number of bytes to skip
 
-addr, bytes, pos are hexadecimal numbers.
+part, addr, bytes, pos are hexadecimal numbers.
 
 Example
 -------
-- 
2.39.5