Comment change, and update help message to reflect the ability to
use a comma separated list as a filter.
--timeout <timeout> How long, in seconds, to wait for jobs to finish
before sending email. This does not kill jobs.
[default: 32400]
- --filter <string> Only run jobs containing the string specified.
- --filter-out <string> Do not run jobs containing the string specified.
-
+ --filter KEYWORDS Only run jobs whose name contains at least one
+ of the keywords in the comma separated keyword
+ string specified.
+ --filter-out KEYWORDS Do not run jobs whose name contains any of
+ the keywords in the comma separated keyword
+ string specified.
"""
'Stopped after {limit} jobs due to --limit={limit}'.format(
limit=limit))
break
+ # Break apart the filter parameter (one string) into comma separated
+ # components to be used in searches.
if filter_in:
filter_list = [x.strip() for x in filter_in.split(',')]
if not any([x in description for x in filter_list]):