From 0a06541e4b894416e9211bd0d5b14f877de46d59 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Sat, 22 Aug 2026 13:51:14 +0200 Subject: docs(cli): --help's rubrics section drifted to three fields, it has four Task 5 (celebrant-rubrics-phase1) added a fourth rubrics column, creed, and updated the man page for it. bin/main.ml's own built-in --help was not: its "output formats" section and worked example still showed three fields (date, formulary slug, source), and nothing caught it because test/cli.t pins command dispatch but never the help body. Fixed the format line and its example, and added a short mention of the creed column to the surrounding prose paragraph (source, format, what --overlay/--lang/--raw do to it), matching the man page's own account without copying it verbatim. test/cli.t now cross-checks --help's own rubrics example against what `colitur rubrics 2026` actually prints for the identical day, so the two cannot silently drift apart again in either direction. Mutation-proved: reverting the field count in --help alone (output unchanged) reddens exactly this new check; reverted clean. --- bin/main.ml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'bin/main.ml') diff --git a/bin/main.ml b/bin/main.ml index 582c776..01410f2 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -1281,8 +1281,8 @@ output formats: 2026-04-05 sunday paschaltide 1 ef-easter-sunday class-1 white readings date slug | Epistle | Gospel [| name] 2026-12-25 ef-nativity | Heb 1:1-12 | John 1:1-14 - rubrics date, formulary slug, source -- TAB-separated - 2026-01-01[TAB]ef-circumcision[TAB]own + rubrics date, formulary slug, source, creed -- TAB-separated + 2026-01-01[TAB]ef-circumcision[TAB]own[TAB]true A citation contains spaces, so readings uses " | " between its fields while day stays space-separated; that is why they are separate commands rather @@ -1298,11 +1298,13 @@ output formats: rubrics prints which Mass is actually said and how that was decided (source: proper/own/preceding-sunday/common/votive) -- not always the day's own: a weekday with no proper resumes the preceding Sunday's, a - saint with no proper says his assigned Common. TAB-separated rather than - space or " | ": a resolved formulary NAME is a column a later version may - add, and it can carry both spaces and punctuation a citation never does, - which rules out either alternative already in use above. --overlay is - accepted (the observed celebration it changes decides the formulary); + saint with no proper says his assigned Common -- followed by whether the + Creed is said (RG 475-476: "true"/"false", OCaml's own literal, not + "yes"/"no" or "1"/"0"). TAB-separated rather than space or " | ": a + resolved formulary NAME is a column a later version may add, and it can + carry both spaces and punctuation a citation never does, which rules out + either alternative already in use above. --overlay is accepted (the + observed celebration it changes decides the formulary and the Creed); --lang/--raw/--sigla-* are refused -- this row resolves no display name and no citation for any of them to affect. -- cgit v1.3