summaryrefslogtreecommitdiff
path: root/internal/cli
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli')
-rw-r--r--internal/cli/cli.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/cli/cli.go b/internal/cli/cli.go
index 253e718..f4aec28 100644
--- a/internal/cli/cli.go
+++ b/internal/cli/cli.go
@@ -28,7 +28,7 @@ Usage:
Flags:
-a, --all all readings, not just the gospel
- -b, --bible VER one version's text: pl,wuj,vul,grb,drb
+ -b, --bible VER one version's text: bt,wuj,vul,grb,drb
-c, --compare LIST versions side by side (comma-separated)
-r, --raw text only, no banner/headings (for piping)
-w, --width N wrap width; 0 = detect terminal
@@ -43,13 +43,13 @@ Flags:
-v, --version print the version and exit
-h, --help this help
-Versions: pl (Polski/niedziela.pl) wuj (Wujek) vul (Wulgata) grb (Grecki)
+Versions: bt (Biblia TysiÄ…clecia) wuj (Wujek) vul (Wulgata) grb (Grecki)
drb (Douay-Rheims)
Examples:
lectio today's gospel
lectio 2026-07-22 -a all readings for a date
- lectio -c pl,wuj 2026-07-22 compare two versions for a date
+ lectio -c bt,wuj 2026-07-22 compare two versions for a date
lectio -b vul -a Vulgate text, all readings
lectio -l trad -a traditional lectionary, all readings
lectio -u harvest sigla to the horizon
@@ -100,8 +100,8 @@ func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) int {
fs.BoolVar(&all, "a", false, "all readings, not just the gospel")
fs.BoolVar(&all, "all", false, "all readings, not just the gospel")
- fs.StringVar(&bibleVer, "b", "", "one version's text: pl,wuj,vul,grb,drb")
- fs.StringVar(&bibleVer, "bible", "", "one version's text: pl,wuj,vul,grb,drb")
+ fs.StringVar(&bibleVer, "b", "", "one version's text: bt,wuj,vul,grb,drb")
+ fs.StringVar(&bibleVer, "bible", "", "one version's text: bt,wuj,vul,grb,drb")
fs.StringVar(&compareList, "c", "", "versions side by side (comma list)")
fs.StringVar(&compareList, "compare", "", "versions side by side (comma list)")
fs.BoolVar(&raw, "r", false, "text only, no banner/headings")
@@ -182,13 +182,13 @@ func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) int {
// compareList != "", bibleVer is unused (compare wins, as before) so it's
// deliberately left unvalidated in that case.
if bibleVer != "" && compareList == "" && !config.ValidVersion(bibleVer) {
- fmt.Fprintf(stderr, "lectio: unknown version %q (want one of pl, wuj, vul, grb, drb)\n", bibleVer)
+ fmt.Fprintf(stderr, "lectio: unknown version %q (want one of bt, wuj, vul, grb, drb)\n", bibleVer)
return 2
}
if compareList != "" {
for _, v := range strings.Split(compareList, ",") {
if v = strings.TrimSpace(v); v != "" && !config.ValidVersion(v) {
- fmt.Fprintf(stderr, "lectio: unknown version %q (want one of pl, wuj, vul, grb, drb)\n", v)
+ fmt.Fprintf(stderr, "lectio: unknown version %q (want one of bt, wuj, vul, grb, drb)\n", v)
return 2
}
}
@@ -469,7 +469,7 @@ func renderCompare(cfg config.Config, list, date string, all, raw bool, width in
}
for _, v := range versions {
if !config.ValidVersion(v) {
- fmt.Fprintf(stderr, "lectio: unknown version %q (want one of pl, wuj, vul, grb, drb)\n", v)
+ fmt.Fprintf(stderr, "lectio: unknown version %q (want one of bt, wuj, vul, grb, drb)\n", v)
return 2
}
}