1
0
Fork 0
mirror of synced 2024-06-17 01:34:40 +12:00

Fix error with verbose argument settings

This commit is contained in:
Serene-Arc 2021-03-08 12:32:08 +10:00 committed by Ali Parlakci
parent 1422591bf4
commit cf1029de80

View file

@ -17,8 +17,9 @@ def _add_options():
help='Specifies the directory where posts will be downloaded to',
metavar='DIRECTORY')
parser.add_argument('--verbose', '-v',
action='store_true',
count=True)
action='count',
default=0,
)
parser.add_argument('--link', '-l',
help='Get posts from link',
action='append',