From 72ed4e7ec71a375c5e8298e9e76007d2360cbd1f Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Wed, 19 Nov 2025 10:03:14 +0100 Subject: [PATCH] Add IO errors to exit code documentation (#1589) --- docs/reference/exit-codes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/exit-codes.md b/docs/reference/exit-codes.md index a095fa1..066f1bb 100644 --- a/docs/reference/exit-codes.md +++ b/docs/reference/exit-codes.md @@ -6,7 +6,7 @@ The ty command line interface uses the following exit codes: | :-------- | :------------------------------------------------------- | | `0` | no violations with severity `error` or higher were found | | `1` | violations with severity `error` or higher were found | -| `2` | invalid CLI options | +| `2` | invalid CLI options, invalid configuration, or IO errors | | `101` | internal error | ty supports two command line arguments that change how exit codes work: