mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Add single letter alias -s for option --short
--short was being used in a test for date logic, but I added a second test for explicitness.
This commit is contained in:
parent
9825f16310
commit
ebee196444
2 changed files with 9 additions and 1 deletions
|
@ -47,3 +47,11 @@ Feature: Basic reading and writing to a journal
|
|||
When we run "jrnl -v"
|
||||
Then we should get no error
|
||||
Then the output should contain "version"
|
||||
|
||||
Scenario: --short and -s display the short version of entries (only the title)
|
||||
Given we use the config "basic.yaml"
|
||||
When we run "jrnl -on 2013-06-10 --short"
|
||||
Then the output should be "2013-06-10 15:40 Life is good."
|
||||
When we run "jrnl -on 2013-06-10 -s"
|
||||
Then the output should be "2013-06-10 15:40 Life is good."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue