]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
fix verbose logging
authorJason Ish <ish@unx.ca>
Fri, 8 Dec 2017 22:15:04 +0000 (16:15 -0600)
committerJason Ish <ish@unx.ca>
Fri, 8 Dec 2017 22:26:44 +0000 (16:26 -0600)
Commit c0789ccf2b64ddc93d20ea2afb0585b4cece50e1 broke
--verbose by never setting the log level to debug.

suricata/update/main.py

index 6437c58ead4c3cd12f66bae82e88198299277bb9..44e1922749c99569dbe9a147f9d0628efc45ba45 100644 (file)
@@ -926,7 +926,7 @@ def _main():
 
     global_parser = argparse.ArgumentParser(add_help=False)
     global_parser.add_argument(
-        "-v", "--verbose", action="store_true", default=False,
+        "-v", "--verbose", action="store_true", default=None,
         help="Be more verbose")
     global_parser.add_argument(
         "-q", "--quiet", action="store_true", default=False,