mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-04 15:36: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
|
@ -2,17 +2,17 @@ Feature: Implementing Runtime Overrides for Select Configuration Keys
|
|||
|
||||
Scenario: Override configured editor with built-in input === editor:''
|
||||
Given we use the config "editor-args.yaml"
|
||||
When we run "jrnl --override '{\"editor\": \"\""}'"
|
||||
When we run "jrnl --config-override '{\"editor\": \"\""}'"
|
||||
Then the editor "" should have been called
|
||||
|
||||
Scenario: Override configured editor with 'nano'
|
||||
Given we use the config "editor.yaml"
|
||||
When we run "jrnl --override '{\"editor\": \"nano\"}'"
|
||||
When we run "jrnl --config-override '{\"editor\": \"nano\"}'"
|
||||
Then the editor "nano" should have been called
|
||||
|
||||
Scenario: Override configured linewrap with a value of 23
|
||||
Given we use the config "editor.yaml"
|
||||
When we run "jrnl -2 --override '{"linewrap": 23}' --format fancy"
|
||||
When we run "jrnl -2 --config-override '{"linewrap": 23}' --format fancy"
|
||||
Then the output should be
|
||||
"""
|
||||
┎─────╮2013-06-09 15:39
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue