mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
cli, manpage: Clean up occurrences of old image argument
--include argument was introduced and replaced --image argument in commit 45d50a101e8073191e6d88143990ed91d3bfe815 This patch cleans up remaining few places where old `--image` argument was mentioned so that now all the documentation has `--include`. --image is deprecated. Both old --image and new --include have the same short version -i and it remains the same. The code remains the same since the code handles --include already. Tested by running flashrom -h man ./flashrom.8.tmpl Ticket: https://ticket.coreboot.org/issues/372 Original-Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/70003 Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Original-Reviewed-by: Felix Singer <felixsinger@posteo.net> Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org> (cherry picked from commit 8274c6321ae2ff29bc9eb0de9dc32d289d3c2cc5) Change-Id: If457e2b8548034868105b515125d7e8b4d5f6134 Signed-off-by: Evan Benn <evanbenn@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/70326 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
405402fe85
commit
124464da22
@ -71,8 +71,9 @@ static void cli_classic_usage(const char *name)
|
||||
" --fmap read ROM layout from fmap embedded in ROM\n"
|
||||
" --fmap-file <fmapfile> read ROM layout from fmap in <fmapfile>\n"
|
||||
" --ifd read layout from an Intel Firmware Descriptor\n"
|
||||
" -i | --image <region>[:<file>] only read/write image <region> from layout\n"
|
||||
" -i | --include <region>[:<file>] only read/write image <region> from layout\n"
|
||||
" (optionally with data from <file>)\n"
|
||||
" --image <region>[:<file>] deprecated, please use --include\n"
|
||||
" -o | --output <logfile> log output to <logfile>\n"
|
||||
" --flash-contents <ref-file> assume flash contents to be <ref-file>\n"
|
||||
" -L | --list-supported print supported devices\n"
|
||||
@ -613,7 +614,8 @@ int main(int argc, char *argv[])
|
||||
{"ifd", 0, NULL, OPTION_IFD},
|
||||
{"fmap", 0, NULL, OPTION_FMAP},
|
||||
{"fmap-file", 1, NULL, OPTION_FMAP_FILE},
|
||||
{"image", 1, NULL, 'i'},
|
||||
{"image", 1, NULL, 'i'}, // (deprecated): back compatibility.
|
||||
{"include", 1, NULL, 'i'},
|
||||
{"flash-contents", 1, NULL, OPTION_FLASH_CONTENTS},
|
||||
{"flash-name", 0, NULL, OPTION_FLASH_NAME},
|
||||
{"flash-size", 0, NULL, OPTION_FLASH_SIZE},
|
||||
|
@ -49,7 +49,7 @@ flashrom \- detect, read, write, verify and erase flash chips
|
||||
(\fB\-\-flash\-name\fR|\fB\-\-flash\-size\fR|
|
||||
[\fB\-E\fR|\fB\-x\fR|\fB\-r\fR <file>|\fB\-w\fR <file>|\fB\-v\fR <file>]
|
||||
[(\fB\-l\fR <file>|\fB\-\-ifd\fR|\fB \-\-fmap\fR|\fB\-\-fmap-file\fR <file>)
|
||||
[\fB\-i\fR <image>[:<file>]]]
|
||||
[\fB\-i\fR <include>[:<file>]]]
|
||||
[\fB\-\-wp\-status\fR] [\fB\-\-wp\-list\fR] [\fB\-\-wp\-enable\fR|\fB\-\-wp\-disable\fR]
|
||||
[\fB\-\-wp\-range\fR <start>,<length>|\fB\-\-wp\-region\fR <region>]
|
||||
[\fB\-n\fR] [\fB\-N\fR] [\fB\-f\fR])]
|
||||
|
Loading…
x
Reference in New Issue
Block a user