diff mbox series

[1/1] doc: in cmp man-page replace 'tuples' by 'values'

Message ID 20221117124510.744141-1-heinrich.schuchardt@canonical.com
State Accepted, archived
Delegated to: Heinrich Schuchardt
Headers show
Series [1/1] doc: in cmp man-page replace 'tuples' by 'values' | expand

Commit Message

Heinrich Schuchardt Nov. 17, 2022, 12:45 p.m. UTC
The word tuples might be misleading.

Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 doc/usage/cmd/cmp.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Simon Glass Nov. 17, 2022, 5:20 p.m. UTC | #1
On Thu, 17 Nov 2022 at 05:45, Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> The word tuples might be misleading.
>
> Suggested-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  doc/usage/cmd/cmp.rst | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

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


>
> diff --git a/doc/usage/cmd/cmp.rst b/doc/usage/cmd/cmp.rst
> index 241320d328..8d196ee578 100644
> --- a/doc/usage/cmd/cmp.rst
> +++ b/doc/usage/cmd/cmp.rst
> @@ -14,20 +14,20 @@ Description
>  -----------
>
>  The cmp command is used to compare two memory areas. By default it works on
> -four byte tuples. By appending .b, .w, .l, .q the size of the tuples is
> -controlled:
> +four byte (32-bit) values. By appending .b, .w, .l, .q the size of the
> +values is controlled:
>
>  cmp.b
> -    compare 1 byte tuples
> +    compare 1 byte (8-bit) values
>
>  cmp.w
> -    compare 2 byte tuples
> +    compare 2 byte (16-bit) values
>
>  cmp.l
> -    compare 4 byte tuples
> +    compare 4 byte (32-bit) values
>
>  cmp.q
> -    compare 8 byte tuples
> +    compare 8 byte (64-bit) values
>
>  The parameters are used as follows:
>
> --
> 2.37.2
>
diff mbox series

Patch

diff --git a/doc/usage/cmd/cmp.rst b/doc/usage/cmd/cmp.rst
index 241320d328..8d196ee578 100644
--- a/doc/usage/cmd/cmp.rst
+++ b/doc/usage/cmd/cmp.rst
@@ -14,20 +14,20 @@  Description
 -----------
 
 The cmp command is used to compare two memory areas. By default it works on
-four byte tuples. By appending .b, .w, .l, .q the size of the tuples is
-controlled:
+four byte (32-bit) values. By appending .b, .w, .l, .q the size of the
+values is controlled:
 
 cmp.b
-    compare 1 byte tuples
+    compare 1 byte (8-bit) values
 
 cmp.w
-    compare 2 byte tuples
+    compare 2 byte (16-bit) values
 
 cmp.l
-    compare 4 byte tuples
+    compare 4 byte (32-bit) values
 
 cmp.q
-    compare 8 byte tuples
+    compare 8 byte (64-bit) values
 
 The parameters are used as follows: