summaryrefslogtreecommitdiff
path: root/cmd/lectio-ui/main.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 23:39:17 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 23:39:17 +0200
commitfd950f027300d3185c7b66b06981eddcfcfead4f (patch)
tree54ff963c2b9e4e356c70851419949ab668ef4203 /cmd/lectio-ui/main.go
parent4bb88c667edc90a5563791dff62ae52ea070b2ee (diff)
downloadlectio-fd950f027300d3185c7b66b06981eddcfcfead4f.tar.gz
lectio-fd950f027300d3185c7b66b06981eddcfcfead4f.zip
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 <code>.tsv/.ini into the corpora dir); a missing version renders "(not in <code>)". - --ui-lang: now any code (en, pl, ...), not just pl|en; note names/<code>.ini, ui/<code>.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.
Diffstat (limited to 'cmd/lectio-ui/main.go')
-rw-r--r--cmd/lectio-ui/main.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/cmd/lectio-ui/main.go b/cmd/lectio-ui/main.go
index e7e7afd..e58c74d 100644
--- a/cmd/lectio-ui/main.go
+++ b/cmd/lectio-ui/main.go
@@ -19,21 +19,23 @@ import (
"github.com/lukaszkasprzak/lectio/internal/tui"
)
-const helpText = `lectio-ui — interactive daily liturgy reader (Polish + 4 versions)
+const helpText = `lectio-ui — interactive offline daily-readings reader (OF + EF)
Usage:
lectio-ui [DATE] [flags] DATE = YYYY-MM-DD (default: today), any position
Flags:
- -b, --bible VER start on version: bt,wuj,vul,grb,drb
+ -b, --bible VER start on version (vul built in; see Versions below)
-R, --reader open the Bible reader (book picker) instead of the daily view
-a, --all show all parts (override config)
- -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
-Versions: wuj (Wujek) vul (Wulgata) grb (Grecki) drb (Douay-Rheims)
+Versions: vul (Latin Vulgate) is built in. wuj (Wujek), grb (Greek) and drb
+(Douay-Rheims) are optional: build with 'make build-full', or drop <code>.tsv +
+<code>.ini into ~/.config/lectio/corpora/. ui_language accepts any code (day and
+saint names from ~/.config/lectio/names/<code>.ini, labels from ui/<code>.ini).
Flags override config. Exit codes: 0 ok, 1 runtime error, 2 usage error.
`