[PATCH]: `help cut` doesn't mention some options

Duncan Roe <[email protected]> Tue, 19 May 2026 14:14:35 +1000
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <[email protected]>
Hi Chet,

`help cut` didn't document -s and -n although they were in the summary.

Cheers ... Duncan.

diff --git a/examples/loadables/cut.c b/examples/loadables/cut.c
index 2b9cce5c..f96ddd34 100644
--- a/examples/loadables/cut.c
+++ b/examples/loadables/cut.c
@@ -609,6 +609,8 @@ char *cut_doc[] = {
 	"processes to successive elements of ARRAY, beginning at 0. The",
 	"strings cut assigns to ARRAY are identical to the strings it would",
 	"write to the standard output if -a were not supplied.",
+	"",
+	"-s stops printing of lines not containing delimiters. -n is ignored.",
 	(char *)NULL
 };