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>
diff --git a/flashrom.8 b/flashrom.8
index 76a17a3..c8ace15 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -123,6 +123,11 @@
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 @@
" -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"