diff mbox series

binman: Fix replace subcommand help

Message ID 69e3a21c-01d1-56fd-d7fa-072c73a3632c@siemens.com
State Superseded
Delegated to: Simon Glass
Headers show
Series binman: Fix replace subcommand help | expand

Commit Message

Jan Kiszka Nov. 10, 2021, 9:02 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Fix some copy&paste artifacts:

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 tools/binman/cmdline.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Glass Nov. 11, 2021, 12:32 a.m. UTC | #1
On Wed, 10 Nov 2021 at 14:02, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Fix some copy&paste artifacts:
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  tools/binman/cmdline.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/binman/cmdline.py b/tools/binman/cmdline.py
> index d6156df408..e1a4cea961 100644
> --- a/tools/binman/cmdline.py
> +++ b/tools/binman/cmdline.py
> @@ -99,7 +99,7 @@ controlled by a description in the board device tree.'''
>      replace_parser.add_argument('-C', '--compressed', action='store_true',
>          help='Input data is already compressed if needed for the entry')
>      replace_parser.add_argument('-i', '--image', type=str, required=True,
> -                                help='Image filename to extract')
> +                                help='Image filename to replace')

s/replace/update/ ?

or

image filename to replace files in?

>      replace_parser.add_argument('-f', '--filename', type=str,
>                                  help='Input filename to read from')
>      replace_parser.add_argument('-F', '--fix-size', action='store_true',
> @@ -109,7 +109,7 @@ controlled by a description in the board device tree.'''
>      replace_parser.add_argument('-m', '--map', action='store_true',
>          default=False, help='Output a map file for the updated image')
>      replace_parser.add_argument('paths', type=str, nargs='*',
> -                                help='Paths within file to extract (wildcard)')
> +                                help='Paths within file to replace (wildcard)')
>
>      test_parser = subparsers.add_parser('test', help='Run tests')
>      test_parser.add_argument('-P', '--processes', type=int,
> --
> 2.31.1

Regards,
Simonn
diff mbox series

Patch

diff --git a/tools/binman/cmdline.py b/tools/binman/cmdline.py
index d6156df408..e1a4cea961 100644
--- a/tools/binman/cmdline.py
+++ b/tools/binman/cmdline.py
@@ -99,7 +99,7 @@  controlled by a description in the board device tree.'''
     replace_parser.add_argument('-C', '--compressed', action='store_true',
         help='Input data is already compressed if needed for the entry')
     replace_parser.add_argument('-i', '--image', type=str, required=True,
-                                help='Image filename to extract')
+                                help='Image filename to replace')
     replace_parser.add_argument('-f', '--filename', type=str,
                                 help='Input filename to read from')
     replace_parser.add_argument('-F', '--fix-size', action='store_true',
@@ -109,7 +109,7 @@  controlled by a description in the board device tree.'''
     replace_parser.add_argument('-m', '--map', action='store_true',
         default=False, help='Output a map file for the updated image')
     replace_parser.add_argument('paths', type=str, nargs='*',
-                                help='Paths within file to extract (wildcard)')
+                                help='Paths within file to replace (wildcard)')
 
     test_parser = subparsers.add_parser('test', help='Run tests')
     test_parser.add_argument('-P', '--processes', type=int,