* [PATCH v2] binman: Fix replace subcommand help and comments
@ 2021-11-11 7:13 Jan Kiszka
2021-11-13 18:14 ` Simon Glass
2021-11-14 0:34 ` Simon Glass
0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2021-11-11 7:13 UTC (permalink / raw)
To: Simon Glass; +Cc: U-Boot Mailing List
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 ++--
tools/binman/control.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/binman/cmdline.py b/tools/binman/cmdline.py
index d6156df408..d053d1be90 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 update')
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,
diff --git a/tools/binman/control.py b/tools/binman/control.py
index 0dbcbc28e9..8b5085152a 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -343,10 +343,10 @@ def ReplaceEntries(image_fname, input_fname, indir, entry_paths,
Args:
image_fname: Image filename to process
- input_fname: Single input ilename to use if replacing one file, None
+ input_fname: Single input filename to use if replacing one file, None
otherwise
indir: Input directory to use (for any number of files), else None
- entry_paths: List of entry paths to extract
+ entry_paths: List of entry paths to replace
do_compress: True if the input data is uncompressed and may need to be
compressed if the entry requires it, False if the data is already
compressed.
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] binman: Fix replace subcommand help and comments
2021-11-11 7:13 [PATCH v2] binman: Fix replace subcommand help and comments Jan Kiszka
@ 2021-11-13 18:14 ` Simon Glass
2021-11-14 0:34 ` Simon Glass
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-11-13 18:14 UTC (permalink / raw)
To: Jan Kiszka; +Cc: U-Boot Mailing List
On Thu, 11 Nov 2021 at 00:13, 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 ++--
> tools/binman/control.py | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
Please add a change log with a v2 patch.
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] binman: Fix replace subcommand help and comments
2021-11-11 7:13 [PATCH v2] binman: Fix replace subcommand help and comments Jan Kiszka
2021-11-13 18:14 ` Simon Glass
@ 2021-11-14 0:34 ` Simon Glass
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-11-14 0:34 UTC (permalink / raw)
To: Simon Glass; +Cc: U-Boot Mailing List, Jan Kiszka
On Thu, 11 Nov 2021 at 00:13, 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 ++--
> tools/binman/control.py | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
Please add a change log with a v2 patch.
Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot-dm, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-14 0:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 7:13 [PATCH v2] binman: Fix replace subcommand help and comments Jan Kiszka
2021-11-13 18:14 ` Simon Glass
2021-11-14 0:34 ` Simon Glass
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.