docs(cli): update exit codes table

I haven't enforced all of these yet, but will soon as part of the v3
release.
This commit is contained in:
Henrik Lissner
2025-07-01 13:56:48 +02:00
parent 6bd38e2c4d
commit adf5594c3c

View File

@ -154,12 +154,13 @@ ENVIRONMENT VARIABLES:
EXIT CODES: EXIT CODES:
0 Successful run 0 Successful run
1 General internal error 1 No error occurred, but the command couldn't complete
2 Error with Emacs/Doom install or execution context 2 General internal error
3 Unrecognized user input error 3 Error with Emacs/Doom install or execution context
4 Command not found, or is incorrect/deprecated 4 Unrecognized user input error
5 Invalid, missing, or extra options/arguments 5 Command not found, or is incorrect/deprecated
6-15 Reserved for Doom 6 Invalid, missing, or extra options/arguments
7-15 Reserved for Doom
16-192 Reserved for the user's extensions 16-192 Reserved for the user's extensions
254 Successful run (then execute the dynamically generated after-script) 254 Successful run (then execute the dynamically generated after-script)
255 Uncaught critical errors 255 Uncaught critical errors