Validate loggernames passed to --logfilter
This commit is contained in:
parent
0b60d28742
commit
d26566a1f6
@ -151,7 +151,7 @@ def logfilter_error(logfilter: str):
|
||||
else:
|
||||
raise argparse.ArgumentTypeError("filters: Invalid value {} - "
|
||||
"expected one "
|
||||
"of: {}".format(filters,
|
||||
"of: {}".format(logfilter,
|
||||
', '.join(log.LOGGER_NAMES)))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user