From ce9867780af4882b3ad91d66949a0a179f7996c2 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 9 May 2009 00:27:07 +0000 Subject: [PATCH] Add --programmer to help text and man page Corresponding to flashrom svn r481. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Uwe Hermann --- flashrom.8 | 5 +++++ flashrom.c | 1 + 2 files changed, 6 insertions(+) diff --git a/flashrom.8 b/flashrom.8 index 76a17a376..c8ace1518 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 " +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 7222d7f4f..4bf41d93e 100644 --- a/flashrom.c +++ b/flashrom.c @@ -313,6 +313,7 @@ void usage(const char *name) " -l | --layout : read rom layout from file\n" " -i | --image : only flash image name from flash layout\n" " -L | --list-supported: print supported devices\n" + " -p | --programmer : 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"