add '-A/--abort'; deprecate '--abort-on-skip'

This commit is contained in:
Mike Fährmann
2019-06-29 23:46:55 +02:00
parent f2000a69aa
commit 6393b47db2
2 changed files with 22 additions and 4 deletions

View File

@@ -122,7 +122,9 @@ def main():
if args.yamlfiles:
config.load(args.yamlfiles, strict=True, fmt="yaml")
if args.postprocessors:
config.set(("postprocessors", ), args.postprocessors)
config.set(("postprocessors",), args.postprocessors)
if args.abort:
config.set(("skip",), "abort:" + str(args.abort))
for key, value in args.options:
config.set(key, value)