diff --git a/respodns/ui.py b/respodns/ui.py index 7651f86..8b1cf73 100644 --- a/respodns/ui.py +++ b/respodns/ui.py @@ -19,9 +19,13 @@ def ui(program, args): desc = "enable pretty-printing progress to stderr" parser.add_argument("--progress", action="store_true", help=desc) + desc = "enable all checks instead of only the most likely ones" + parser.add_argument("--all", action="store_true", help=desc) + a = parser.parse_args(args) - checks = chk.first + chk.likely + checks = [] + chk.first + checks += chk.checks if a.all else chk.likely opts = Options() opts.dry = a.database is None