flashrom: Document exit() codes introduced in r3907.
authorPeter Stuge <peter@stuge.se>
Mon, 26 Jan 2009 02:20:56 +0000 (02:20 +0000)
committerPeter Stuge <peter@stuge.se>
Mon, 26 Jan 2009 02:20:56 +0000 (02:20 +0000)
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3908 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/flashrom/README
util/flashrom/flashrom.8

index 656468f734d82b6e639afb34e8f6ff4cfc8243da..8410d3ff5e9b5f00b5fc364378d6be2129021886 100644 (file)
@@ -44,6 +44,12 @@ Usage
  is that flash info is dumped and the flash chip is set to writable.
 
 
+Exit status
+-----------
+flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem
+(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails.
+
+
 coreboot Table and Mainboard Identification
 --------------------------------------------
 
index 4d072c43abf22008458a5db122568a8e3f18e78e..4e60f850e72cb4c8a076b175e1a155273da4ee88 100644 (file)
@@ -77,6 +77,9 @@ Show a help text and exit.
 .TP
 .B "\-R, \-\-version"
 Show version information and exit.
+.SH EXIT STATUS
+flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem
+(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails.
 .SH BUGS
 Please report any bugs at
 .BR http://tracker.coreboot.org/trac/coreboot/newticket ","