allow multiple post-processor command-line options (#253)

... without overwriting any previous ones
This commit is contained in:
Mike Fährmann
2019-05-10 15:32:23 +02:00
parent b1db194c14
commit e64773ffdd
2 changed files with 11 additions and 9 deletions

View File

@@ -121,6 +121,8 @@ def main():
config.load(args.cfgfiles, strict=True)
if args.yamlfiles:
config.load(args.yamlfiles, strict=True, fmt="yaml")
if args.postprocessors:
config.set(("postprocessors", ), args.postprocessors)
for key, value in args.options:
config.set(key, value)