Fix error with verbose argument settings
This commit is contained in:
parent
1422591bf4
commit
cf1029de80
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue