summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-09 00:27:07 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-09 00:27:07 +0000
commitd24bd84b37f1143a4add0f3c78cbc1110d68a8f1 (patch)
tree88297349d3d7916234443027e7e4c3e1246e3490
parent6a7099e115d373e98c46cceb8bce5291288c6f0b (diff)
downloadflashrom-d24bd84b37f1143a4add0f3c78cbc1110d68a8f1.zip
flashrom-d24bd84b37f1143a4add0f3c78cbc1110d68a8f1.tar.gz
Add --programmer to help text and man page
Corresponding to flashrom svn r481. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
-rw-r--r--flashrom.85
-rw-r--r--flashrom.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index 76a17a3..c8ace15 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -123,6 +123,11 @@ but the list is not exhaustive, of course.
Please let us know if you can verify other boards to work or not work out
of the box.
.TP
+.B "\-p, \-\-programmer <name>"
+Specify the programmer device. Currently supported are:
+.sp
+.BR " internal" " (default, for in-system flashing in the mainboard)"
+.TP
.B "\-h, \-\-help"
Show a help text and exit.
.TP
diff --git a/flashrom.c b/flashrom.c
index 7222d7f..4bf41d9 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -313,6 +313,7 @@ void usage(const char *name)
" -l | --layout <file.layout>: read rom layout from file\n"
" -i | --image <name>: only flash image name from flash layout\n"
" -L | --list-supported: print supported devices\n"
+ " -p | --programmer <name>: specify the programmer device\n"
" -h | --help: print this help text\n"
" -R | --version: print the version (release)\n"
"\n" " If no file is specified, then all that happens"
OpenPOWER on IntegriCloud