summaryrefslogtreecommitdiff
path: root/tools/imagetool.h
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.microsoft.com>2020-10-26 10:40:24 -0500
committerTom Rini <trini@konsulko.com>2020-11-19 09:45:49 -0500
commite157a1114e4f9294219f4257d0e7983ecb4c328d (patch)
tree9b30253dac7eda06fd59db2c4a8cdde723804790 /tools/imagetool.h
parent6a457bb29535c4e743dc4c487caf20a122cea435 (diff)
tools: dumpimage: Remove remaining mentions of the -i option
The -i option of the dumpimage tool has been removed so it should no longer be documented in the README file. Refer readers to the tool's help output rather than maintain a copy of the usage in the README. Finally, adjust the example dumpfile invocation in imagetool.h to use the -o option instead of the removed -i option. Fixes: 12b831879a76 ("tools: dumpimage: Simplify arguments") Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> Cc: Martyn Welch <martyn.welch@collabora.com> Acked-by: Martyn Welch <martyn.welch@collabora.com>
Diffstat (limited to 'tools/imagetool.h')
-rw-r--r--tools/imagetool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h
index acbc48e9be..8726792c8c 100644
--- a/tools/imagetool.h
+++ b/tools/imagetool.h
@@ -126,9 +126,9 @@ struct image_type_params {
struct image_tool_params *);
/*
* This function is used by the command to retrieve a component
- * (sub-image) from the image (i.e. dumpimage -i <image> -p <position>
- * <sub-image-name>).
- * Thus the code to extract a file from an image must be put here.
+ * (sub-image) from the image (i.e. dumpimage -p <position>
+ * -o <component-outfile> <image>). Thus the code to extract a file
+ * from an image must be put here.
*
* Returns 0 if the file was successfully retrieved from the image,
* or a negative value on error.