mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-05 07:56:14 +02:00
rename --override to --config-override
This commit is contained in:
parent
f978cee899
commit
1a8bcfca64
5 changed files with 8 additions and 8 deletions
|
@ -232,7 +232,7 @@ def editor_override(context, editor):
|
|||
patch("jrnl.install.get_config_path", side_effect=lambda: context.config_path) \
|
||||
:
|
||||
try :
|
||||
cli(['--override','{"editor": "%s"}'%editor])
|
||||
cli(['--config-override','{"editor": "%s"}'%editor])
|
||||
context.exit_status = 0
|
||||
context.editor = mock_editor
|
||||
assert mock_editor.assert_called_once_with(editor, context.tmpfile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue