mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 22:16:13 +02:00
Fixed -not option with no arguments bug (#1466)
This commit is contained in:
parent
4dacd86bc3
commit
8458cdb06f
2 changed files with 8 additions and 2 deletions
|
@ -243,10 +243,10 @@ def parse_args(args=[]):
|
|||
reading.add_argument(
|
||||
"-not",
|
||||
dest="excluded",
|
||||
nargs="?",
|
||||
nargs=1,
|
||||
default=[],
|
||||
metavar="TAG",
|
||||
action="append",
|
||||
action="extend",
|
||||
help="Exclude entries with this tag",
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue