euscan: allow --progress with --quiet
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
parent
ba805536ad
commit
84a764dad5
@ -188,7 +188,7 @@ def parse_args():
|
|||||||
getopt_options['short']['global'] = "hVCqv1bf:p"
|
getopt_options['short']['global'] = "hVCqv1bf:p"
|
||||||
getopt_options['long']['global'] = [
|
getopt_options['long']['global'] = [
|
||||||
"help", "version", "nocolor", "quiet", "verbose", "oneshot",
|
"help", "version", "nocolor", "quiet", "verbose", "oneshot",
|
||||||
"brute-force=", "format="
|
"brute-force=", "format=", "progress"
|
||||||
]
|
]
|
||||||
|
|
||||||
short_opts = getopt_options['short']['global']
|
short_opts = getopt_options['short']['global']
|
||||||
@ -241,7 +241,7 @@ def main():
|
|||||||
if CONFIG['verbose'] > 2:
|
if CONFIG['verbose'] > 2:
|
||||||
HTTPConnection.debuglevel = 1
|
HTTPConnection.debuglevel = 1
|
||||||
|
|
||||||
if not CONFIG["format"]:
|
if not CONFIG["format"] and not CONFIG['quiet']:
|
||||||
CONFIG["progress"] = False
|
CONFIG["progress"] = False
|
||||||
|
|
||||||
on_progress = None
|
on_progress = None
|
||||||
|
Loading…
Reference in New Issue
Block a user