List of steps to reproduce:
pwb.py harvest_template -template:foo bar P123 -simulate -site:wikipedia:test -grep:"\| *bar"
What happens?:
WARNING: filter(s) specified but no generators.
What should have happened instead?:
The warning should be omitted
Software version:
Pywikibot 3.0.20170403+