summaryrefslogtreecommitdiff
path: root/print_wiki.c
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-01-04 00:48:27 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-01-04 00:48:27 +0000
commit234fb84eb42ed6718a23b99e822ea3d726e8b995 (patch)
tree7f14a4305d587d4ff56c1b3f764a9016dba5d03b /print_wiki.c
parentcf3abbf99f950681e9601a1da17c0709179ce76e (diff)
downloadflashrom-234fb84eb42ed6718a23b99e822ea3d726e8b995.tar.gz
Replace --mainboard with -p internal:mainboard
--mainboard is a relic from a time before external programmers and makes the CLI inconsistent. Use a programmer parameter instead and free up the short option -m. NOTE: The --list-supported-wiki output changed to use -p internal:mainboard= instead of -m The --list-supported output changed the heading of the mainboard list from Vendor Board Status Required option to Vendor Board Status Required value for -p internal:mainboard= Fix lb_vendor_dev_from_string() not to write to the supplied string. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1483 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'print_wiki.c')
-rw-r--r--print_wiki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_wiki.c b/print_wiki.c
index 57a27d8..1c9241e 100644
--- a/print_wiki.c
+++ b/print_wiki.c
@@ -167,7 +167,7 @@ static void wiki_helper(const char *devicetype, int cols,
boards[i].url ? boards[i].url : "",
boards[i].name,
boards[i].url ? "]" : "",
- b[k].lb_vendor ? "-m " : "&mdash;",
+ b[k].lb_vendor ? "-p internal:mainboard=" : "&mdash;",
b[k].lb_vendor ? b[k].lb_vendor : "",
b[k].lb_vendor ? ":" : "",
b[k].lb_vendor ? b[k].lb_part : "",