mirror of
https://git.pumpin.online/funkpower/typikon.git
synced 2026-10-23 03:07:12 +00:00
remember the whole setup, not a third of it
The config file held one key while the program grew three axes, so --set-default recorded the jurisdiction and silently dropped the discipline and the usage. On this machine that produced exactly the failure it sounds like: a terminal reckoning by ROCOR beside a desktop widget reckoning by the Ruthenian calendar, both correct, neither agreeing. --set-default now writes whatever was given alongside it, and an ordinary run reads all three back with flags still winning over the file.
This commit is contained in:
@@ -100,8 +100,17 @@ $ typikon --list # every accepted value
|
||||
```
|
||||
|
||||
The first run writes your choice to `~/.config/typikon/config.toml` and stops
|
||||
asking. Change it with `--set-default`, override it for one run with the flag,
|
||||
or set `TYPIKON_JURISDICTION`.
|
||||
asking. `--set-default` remembers the whole invocation, not just the
|
||||
jurisdiction:
|
||||
|
||||
```console
|
||||
$ typikon --set-default ruthenian --typikon
|
||||
```
|
||||
|
||||
records the discipline and the usage alongside the church, so a terminal and a
|
||||
desktop widget on the same machine cannot end up disagreeing about the same
|
||||
day. Override any of it for one run with the flags, or set
|
||||
`TYPIKON_JURISDICTION`.
|
||||
|
||||
Twenty-three jurisdictions ship: the old-calendar churches (Moscow, ROCOR,
|
||||
Serbia, Georgia, Jerusalem, the Holy Mountain, Poland, Macedonia), the
|
||||
|
||||
Reference in New Issue
Block a user