summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flashrom.85
-rw-r--r--flashrom.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index cf6f5fd..805397d 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -17,6 +17,11 @@ or SPI.
.B http://coreboot.org
for details on coreboot)
.SH OPTIONS
+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.
+.PP
If no file is specified, then all that happens
is that flash info is dumped and the flash chip is set to writable.
.TP
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