aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2021-11-11 08:13:30 +0100
committerSimon Glass <sjg@chromium.org>2021-11-13 14:29:25 -0700
commit89cc0520d7962358ca85464836112217c5b8eca2 (patch)
treeef2a9b9c80b073d97ffa9bf445201adae701e9e9
parentc1df3d54d6e5d79626c2f796b03668047316a802 (diff)
downloadu-boot-89cc0520d7962358ca85464836112217c5b8eca2.zip
u-boot-89cc0520d7962358ca85464836112217c5b8eca2.tar.gz
u-boot-89cc0520d7962358ca85464836112217c5b8eca2.tar.bz2
binman: Fix replace subcommand help and comments
Fix some copy&paste artifacts. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
-rw-r--r--tools/binman/cmdline.py4
-rw-r--r--tools/binman/control.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/binman/cmdline.py b/tools/binman/cmdline.py
index 23729f1..e73ff78 100644
--- a/tools/binman/cmdline.py
+++ b/tools/binman/cmdline.py
@@ -101,7 +101,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',
@@ -111,7 +111,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 a56e65a..304fc70 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.