From cf1029de80814d49ba5f32552674c0501697dae0 Mon Sep 17 00:00:00 2001 From: Serene-Arc Date: Mon, 8 Mar 2021 12:32:08 +1000 Subject: [PATCH] Fix error with verbose argument settings --- bulkredditdownloader/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bulkredditdownloader/__main__.py b/bulkredditdownloader/__main__.py index f2eadfe..e44b89d 100644 --- a/bulkredditdownloader/__main__.py +++ b/bulkredditdownloader/__main__.py @@ -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',