Fixed -not option with no arguments bug

This commit is contained in:
apainintheneck 2022-05-01 13:33:33 -07:00
parent 6a12853b65
commit 8da990f602
2 changed files with 8 additions and 2 deletions

View file

@ -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",
)