1
0
Fork 0
mirror of synced 2024-06-26 10:00:20 +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', help='Specifies the directory where posts will be downloaded to',
metavar='DIRECTORY') metavar='DIRECTORY')
parser.add_argument('--verbose', '-v', parser.add_argument('--verbose', '-v',
action='store_true', action='count',
count=True) default=0,
)
parser.add_argument('--link', '-l', parser.add_argument('--link', '-l',
help='Get posts from link', help='Get posts from link',
action='append', action='append',