mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 22:16:13 +02:00
Add --co alias for --config-override (#1397)
This commit is contained in:
parent
f890e2fcd3
commit
cd865e048e
2 changed files with 14 additions and 0 deletions
|
@ -336,6 +336,15 @@ def parse_args(args=[]):
|
|||
\t jrnl --config-override colors.body blue --config-override colors.title green
|
||||
""",
|
||||
)
|
||||
config_overrides.add_argument(
|
||||
"--co",
|
||||
dest="config_override",
|
||||
action="append",
|
||||
type=str,
|
||||
nargs=2,
|
||||
default=[],
|
||||
help=argparse.SUPPRESS,
|
||||
)
|
||||
|
||||
alternate_config = parser.add_argument_group(
|
||||
"Specifies alternate config to be used",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue