From fd950f027300d3185c7b66b06981eddcfcfead4f Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 28 Jul 2026 23:39:17 +0200 Subject: help: refresh -h/--help for lectio, lectio-ui, lectio-web The help text predated this session's changes. Update all three binaries: - Taglines: drop "(Polish + 4 versions)" -> "offline ... daily readings (OF + EF)". - Versions: state that only the Latin Vulgate is built in; wuj/grb/drb are optional (make build-full, or drop .tsv/.ini into the corpora dir); a missing version renders "(not in )". - --ui-lang: now any code (en, pl, ...), not just pl|en; note names/.ini, ui/.ini, custom calendars and the sanctorale override. - lectio-ui: drop the removed "bt" version and the no-op -o/--offline flag from the help (the tool is fully offline; --offline only ever dropped bt). - lectio-web: drop -o/--offline; add a one-line description of what it serves. No behaviour change; full suite green. --- cmd/lectio-web/main.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cmd/lectio-web/main.go') diff --git a/cmd/lectio-web/main.go b/cmd/lectio-web/main.go index fb7f185..f8d90b1 100644 --- a/cmd/lectio-web/main.go +++ b/cmd/lectio-web/main.go @@ -15,18 +15,22 @@ import ( "github.com/lukaszkasprzak/lectio/internal/web" ) -const helpText = `lectio-web — browser daily liturgy reader (Polish + 4 versions) +const helpText = `lectio-web — browser offline daily-readings reader (OF + EF) Usage: lectio-web [flags] Flags: -p, --port N port (overrides web_port; 0 = auto) - -o, --offline cache/sigla only, no network -l, --lectionary WHICH new|trad (trad -> traditional) -v, --version print the version and exit -h, --help this help +Serves a local page (default: http://localhost:1099) with the day's readings, +version compare, a Bible reader and bookmarks. Everything renders offline. +Versions and display are set in the page's settings; vul (Latin Vulgate) is +built in, wuj/grb/drb are optional (make build-full, or ~/.config/lectio/corpora/). + Flags override config. Exit codes: 0 ok, 1 runtime error, 2 usage error. ` -- cgit v1.3