aboutsummaryrefslogtreecommitdiff
path: root/doc/foot.1.scd
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-01 08:58:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-04 08:41:23 +0000
commit1cbbb62da04d8d600292166818e6356a38cc765c (patch)
treef55b4ea4973aa2e05e97bc742e7518a40aa5e57e /doc/foot.1.scd
parentmain/client: change exit code (diff)
doc: foot.1 footclient.1: document exit status
Diffstat (limited to 'doc/foot.1.scd')
-rw-r--r--doc/foot.1.scd9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 9b5079b8..8c7bf901 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -28,7 +28,7 @@ the foot command line
*-C*,*--check-config*
Verify configuration and then exit with 0 if ok, otherwise exit
- with 1.
+ with 230 (see *EXIT STATUS*).
*-f*,*--font*=_FONT_
Comma separated list of fonts to use, in fontconfig format (see
@@ -136,6 +136,13 @@ the foot command line
*-v*,*--version*
Show the version number and quit.
+# EXIT STATUS
+
+Foot will exit with code 230 if there is a failure in foot itself.
+
+In all other cases, the exit code is that of the client application
+(i.e. the shell).
+
# KEYBOARD SHORTCUTS
The following keyboard shortcuts are available.