Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: cli_mfg.c

Issue 6611015: Support -i partition:file feature for both read and write. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flashrom.git@master
Patch Set: fixed according to code review and security check. Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | flash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cli_mfg.c
diff --git a/cli_mfg.c b/cli_mfg.c
index 23313c5bee2952692ed431de74b87b425748ee59..918d99f6c8a046fc058dc3603d2df00812e38c18 100644
--- a/cli_mfg.c
+++ b/cli_mfg.c
@@ -48,9 +48,9 @@ void cli_mfg_usage(const char *name)
#if CONFIG_PRINT_WIKI == 1
"-z|"
#endif
- "-E|-r <file>|-w <file>|-v <file>]\n"
+ "-E|-r <file>|-w <file>|-v <file>] [-i <image>[:<file>]]\n"
" [-c <chipname>] [-m [<vendor>:]<part>] [-l <file>]\n"
- " [-i <image>] [-p <programmername>[:<parameters>]]\n",
+ " [-p <programmername>[:<parameters>]]\n",
name);
printf("Please note that the command line interface for flashrom has "
@@ -82,8 +82,10 @@ void cli_mfg_usage(const char *name)
" -n | --noverify don't auto-verify\n"
" -l | --layout <file> read ROM layout from "
"<file>\n"
- " -i | --image <name> only flash image <name> "
- "from flash layout\n"
+ " -i | --image <name>[:<file>] only access image <name> "
+ "from flash layout.\n"
+ " the content are included "
+ "in <file> if specified.\n"
" -L | --list-supported print supported devices\n"
#if CONFIG_PRINT_WIKI == 1
" -z | --list-supported-wiki print supported devices "
« no previous file with comments | « no previous file | flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698