[PATCH] binman: Fix replace subcommand help

Simon Glass sjg at chromium.org
Thu Nov 11 01:32:17 CET 2021


On Wed, 10 Nov 2021 at 14:02, Jan Kiszka <jan.kiszka at siemens.com> wrote:
>
> From: Jan Kiszka <jan.kiszka at siemens.com>
>
> Fix some copy&paste artifacts:
>
> Signed-off-by: Jan Kiszka <jan.kiszka at 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


More information about the U-Boot mailing list