From 236da13db1c40d44ca4a326818eedb1561dfb1ad Mon Sep 17 00:00:00 2001 From: corvid Date: Wed, 12 Aug 2009 00:06:16 +0000 Subject: return 2 for bad cmdline arg bash regarded -1 as out of range. When a command's exit status is out of range, bash uses 255. This could be a confusing surprise if someone needs to care about dillo's exit status in a script someday. --- doc/dillo.1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/dillo.1 b/doc/dillo.1 index 74a1142e..0e6287a7 100644 --- a/doc/dillo.1 +++ b/doc/dillo.1 @@ -1,4 +1,4 @@ -.TH dillo 1 "July 23, 2009" "version 2.2" "USER COMMANDS" +.TH dillo 1 "August 11, 2009" "version 2.2" "USER COMMANDS" .SH NAME dillo \- web browser .SH SYNOPSIS @@ -44,14 +44,14 @@ Display version info and exit. Open first Dillo window in an existing window whose window ID is \fIXID\fR. .SH EXIT STATUS .TP -.B -1 -Error in command line arguments. -.TP .B 0 No error. .TP .B 1 -Runtime error. +Internal error. +.TP +.B 2 +Error in command line arguments. .SH ENVIRONMENT .TP .BR "HOME " "(or " "HOMEDRIVE " "and " "HOMEPATH " "on Cygwin)" -- cgit v1.2.3