[PATCH] doc: usage: load: document part as hexadecimal

From: Mickaël Tansorier mickael.tansorier@smile.fr
`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 --- 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 1efee773179..2c892ee1cb7 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 -------

On Fri, 15 Sept 2023 at 21:33, Yoann Congal yoann.congal@smile.fr wrote:
From: Mickaël Tansorier mickael.tansorier@smile.fr
`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
doc/usage/cmd/load.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
participants (2)
-
Simon Glass
-
Yoann Congal