Daniel Campello has uploaded this change for review.

View Change

flashrom.8.tmpl: clarifying man entries for -r/-w/-x

This change adds follow up changes to the man page:
- Explain <-> argument for -r/-w operations
- Expand on region name handling of -x operation

BUG=b:224364316

Change-Id: I0cba593da3926c8587027789f4e1e89a2329ca7f
---
M flashrom.8.tmpl
1 file changed, 11 insertions(+), 6 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/94/62794/1
diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl
index fe2d9d6..3274f07 100644
--- a/flashrom.8.tmpl
+++ b/flashrom.8.tmpl
@@ -77,16 +77,20 @@
.B -p/--programmer
option to be used (please see below).
.TP
-.B "\-r, \-\-read <file>"
+.B "\-r, \-\-read <file|->"
Read flash ROM contents and save them into the given
.BR <file> .
-If the file already exists, it will be overwritten.
+If the file already exists, it will be overwritten. If
+.BR <->
+is provided instead, contents will be written to the stdout.
.TP
-.B "\-w, \-\-write <file>"
+.B "\-w, \-\-write <file|->"
Write
.B <file>
-into flash ROM. This will first automatically
-.B erase
+into flash ROM. If
+.B <->
+is provided instead, contents will be read from stdin. This will first automatically
+ B erase
the chip, then write to it.
.sp
In the process the chip is also read several times. First an in-memory backup
@@ -133,7 +137,8 @@
.TP
.B "\-x, \-\-extract"
Extract every region defined on the layout from flash ROM chip to a
-file with the same name as the extracted region.
+file with the same name as the extracted region (replacing spaces with
+underscores).
.TP
.B "\-V, \-\-verbose"
More verbose output. This option can be supplied multiple times

To view, visit change 62794. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0cba593da3926c8587027789f4e1e89a2329ca7f
Gerrit-Change-Number: 62794
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Campello <campello@chromium.org>
Gerrit-MessageType: newchange