implement recursive config overrides

This commit is contained in:
Suhas 2021-01-24 11:08:47 -05:00
parent 9bab1aee87
commit f3d8ed2e45
2 changed files with 26 additions and 9 deletions

View file

@ -330,11 +330,11 @@ def parse_args(args=[]):
help="""
Override configured key-value pairs with CONFIG_KV_PAIR for this command invocation only.
Examples:
- Use a different editor for this jrnl entry, call:
jrnl --config-override '{"editor": "nano"}'
- Override color selections
jrnl --config-override '{"colors.body":"blue", "colors.title": "green"}
Examples: \n
\t - Use a different editor for this jrnl entry, call: \n
\t jrnl --config-override '{"editor": "nano"}' \n
\t - Override color selections\n
\t jrnl --config-override '{"colors.body":"blue", "colors.title": "green"}
""",
)