summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-01 10:53:49 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-01 10:53:49 +0000
commit5de93414ac0396b7bfc765e50571b1ebcc9648c4 (patch)
tree57a32723efd5dc00dde26fd106cd35fc4f46051f /flashrom.c
parentddb94f7e5576eaddc49d6a73de2a93b24451c771 (diff)
downloadast2050-flashrom-5de93414ac0396b7bfc765e50571b1ebcc9648c4.zip
ast2050-flashrom-5de93414ac0396b7bfc765e50571b1ebcc9648c4.tar.gz
Since the command line interface for flashrom will change for 1.0
(all-caps or no-caps for short options, exclude range syntax, etc.) we should tell users in the man page and the usage message about this. Corresponding to flashrom svn r447. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index 0e3049c..36d145f 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -306,6 +306,10 @@ void usage(const char *name)
printf("usage: %s [-rwvEVfLhR] [-c chipname] [-s exclude_start]\n",
name);
printf(" [-e exclude_end] [-m [vendor:]part] [-l file.layout] [-i imagename] [file]\n");
+ printf("Please note that the command line interface for flashrom will "
+ "change before flashrom 1.0. Do not use flashrom in scripts or "
+ "other automated tools without checking that your flashrom "
+ "version won't interpret them in a totally different way.\n\n");
printf
(" -r | --read: read flash and save into file\n"
" -w | --write: write file into flash\n"
OpenPOWER on IntegriCloud