Update arg parsing to better handle optinal journal name

Fixes #520 -and parameter seems to only work for the default journal
This commit is contained in:
Jonathan Wren 2020-07-01 14:47:05 -07:00
parent 2b2f24449f
commit 5922ca41ee
3 changed files with 43 additions and 22 deletions

View file

@ -77,7 +77,7 @@ Feature: Tagging
When we run "jrnl today: I think this will show up @thought"
When we run "jrnl today: This should @never show up @thought"
When we run "jrnl today: What a nice day for filtering @thought"
When we run "jrnl --tags -not @not @never"
When we run "jrnl --tags -not @not -not @never"
Then the output should be
"""
@thought : 2