From c81998e24bba08931376fe521d25897491670af3 Mon Sep 17 00:00:00 2001 From: yuwk <1729065730@qq.com> Date: Tue, 20 Oct 2026 18:47:44 +0800 Subject: [PATCH] man: document that disable ranges are half-open --- shellcheck.1.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shellcheck.1.md b/shellcheck.1.md index 960e06a85..d4975581a 100644 --- a/shellcheck.1.md +++ b/shellcheck.1.md @@ -261,6 +261,8 @@ Valid keys are: The command can be a simple command like `echo foo`, or a compound command like a function definition, subshell block or loop. A range can be specified with a dash, e.g. `disable=SC3000-SC4000` to exclude 3xxx. + The end of the range is exclusive: this example covers SC3000 through + SC3999, but not SC4000. All warnings can be disabled with `disable=all`. **enable**