Steps to Reproduce:
python3 /shared/pywikibot/core/scripts/touch.py -lang:en -family:wikipedia -purge -forcelinkupdate -cat:'Pages using duplicate arguments in template calls'
Actual Results:
WARNING: forcelinkupdate is not a valid option. It was ignored. Retrieving 50 pages from wikipedia:en. WARNING: /shared/pywikipedia/core/pywikibot/bot.py:1154: FutureWarning: pywikibot.bot.OptionHandler.options is deprecated for 1 month and 17 days; use Optionhandler.opt.option attribute or Optionhandler.opt[option] item instead. attr = super().__getattribute__(name)
Expected Results:
The script does not ignore valid options
version.py
Pywikibot: [https] r-pywikibot-core.git (67dd6cc, g1, 2020/11/19, 22:20:58, master) Release version: 5.2.0.dev0 requests version: 2.21.0 cacerts: /etc/ssl/certs/ca-certificates.crt certificate test: ok Python: 3.5.3 (default, Nov 18 2020, 21:09:16) [GCC 6.3.0 20170516] Toolforge hostname: tools-sgebastion-08