mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 16:26:13 +02:00
Add warning when --change-time used with no matching entries
This commit is contained in:
parent
14cba37bb9
commit
329d889fc3
3 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,7 @@ Feature: Change entry times in journal
|
|||
Scenario Outline: Change time flag with nonsense input changes nothing
|
||||
Given we use the config "<config_file>"
|
||||
When we run "jrnl --change-time now asdfasdf"
|
||||
Then the output should contain "No entries to modify"
|
||||
When we run "jrnl -99 --short"
|
||||
Then the output should be
|
||||
2020-08-29 11:11 Entry the first.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue