From 553477671873797c7afb7e8236af4999957dc446 Mon Sep 17 00:00:00 2001 From: Kjell Tore Guttormsen Date: Mon, 4 May 2026 20:32:29 +0200 Subject: [PATCH] docs(tally): document --regex / -r in --help text Step 3 of plan.md (Spor B B3 pipeline run). Adds one line under Options: in the HELP template literal so --help users can discover the new flag. Satisfies SC #8. [skip-docs] --- examples/02-real-cli/tally.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/02-real-cli/tally.mjs b/examples/02-real-cli/tally.mjs index 8192829..a5c52aa 100755 --- a/examples/02-real-cli/tally.mjs +++ b/examples/02-real-cli/tally.mjs @@ -8,6 +8,7 @@ Count literal-substring occurrences of in . Options: -i, --ignore-case Case-insensitive matching --lines Count lines containing pattern (not total occurrences) + -r, --regex Interpret as a JavaScript regular expression --json Emit a JSON object on stdout -h, --help Show this help and exit