flashrom: Document exit() codes introduced in r3907.

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
This commit is contained in:
Peter Stuge 2009-01-26 02:20:56 +00:00
parent 800621e0c5
commit 732a229a10
2 changed files with 9 additions and 0 deletions

View File

@ -44,6 +44,12 @@ Usage
is that flash info is dumped and the flash chip is set to writable. 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 coreboot Table and Mainboard Identification
-------------------------------------------- --------------------------------------------

View File

@ -77,6 +77,9 @@ Show a help text and exit.
.TP .TP
.B "\-R, \-\-version" .B "\-R, \-\-version"
Show version information and exit. 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 .SH BUGS
Please report any bugs at Please report any bugs at
.BR http://tracker.coreboot.org/trac/coreboot/newticket "," .BR http://tracker.coreboot.org/trac/coreboot/newticket ","