aboutsummaryrefslogtreecommitdiff
path: root/doc/dillo.1
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-08-12 00:06:16 +0000
committercorvid <corvid@lavabit.com>2009-08-12 00:06:16 +0000
commit236da13db1c40d44ca4a326818eedb1561dfb1ad (patch)
treebb19123e68f801ebc9c0440cf0b4645c051b31ec /doc/dillo.1
parentb4885050a417b18a3a0185fc1f44b7cb75c35069 (diff)
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.
Diffstat (limited to 'doc/dillo.1')
-rw-r--r--doc/dillo.110
1 files changed, 5 insertions, 5 deletions
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)"