aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2012-07-02 11:20:18 +0200
committerCorentin Chary <corentin.chary@gmail.com>2012-07-02 11:20:18 +0200
commit84a764dad5a1a16ee48f2eb61e532ba311ffb4cf (patch)
tree1e28c5d308d0c098dcc464d41c848af54098233c /bin
parenteuscanwww: add --category to scan_metadata, remove homepage and description (diff)
downloadeuscan-84a764dad5a1a16ee48f2eb61e532ba311ffb4cf.tar.gz
euscan-84a764dad5a1a16ee48f2eb61e532ba311ffb4cf.tar.bz2
euscan-84a764dad5a1a16ee48f2eb61e532ba311ffb4cf.zip
euscan: allow --progress with --quiet
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/euscan4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/euscan b/bin/euscan
index 963193f..7e6b593 100755
--- a/bin/euscan
+++ b/bin/euscan
@@ -188,7 +188,7 @@ def parse_args():
getopt_options['short']['global'] = "hVCqv1bf:p"
getopt_options['long']['global'] = [
"help", "version", "nocolor", "quiet", "verbose", "oneshot",
- "brute-force=", "format="
+ "brute-force=", "format=", "progress"
]
short_opts = getopt_options['short']['global']
@@ -241,7 +241,7 @@ def main():
if CONFIG['verbose'] > 2:
HTTPConnection.debuglevel = 1
- if not CONFIG["format"]:
+ if not CONFIG["format"] and not CONFIG['quiet']:
CONFIG["progress"] = False
on_progress = None