add flag for enabling all checks
This commit is contained in:
parent
49ad63750e
commit
8dc6b5bf98
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue