Page MenuHomePhabricator

-help option does not show local help with similar search of pwb.py
Closed, ResolvedPublicBUG REPORT

Description

C:\pwb\GIT\core>pwb solvedisambig -help
C:\pwb\GIT\core\pywikibot\config2.py:1136: _ConfigurationDeprecationWarning: "sysopnames" present in our user-config.py is no longer a supported configuration variable. Please inform the maintainers if you depend on it.
  warn('"{0}" present in our user-config.py is no longer a supported '
ERROR: solvedisambig.py not found! Misspelling?
NOTE: Starting the most similar script solve_disambiguation.py
      in 5.0 seconds; type CTRL-C to stop.
Sorry, no help available for solvedisambig

GLOBAL OPTIONS
==============
(Global arguments available for all bots)

…

C:\pwb\GIT\core>_MultiCall__eventinfo

Event Timeline

Xqt triaged this task as Medium priority.Dec 20 2019, 9:53 AM

calledModuleName uses pywikibot.argvu[0] but argvu isn't changed to the new filename like it is done in argv

Dvorapa changed the subtype of this task from "Task" to "Bug Report".Mar 8 2020, 11:21 PM

Change 578299 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Enable -help option with similar search of pwb.py

https://gerrit.wikimedia.org/r/578299

Change 578299 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Enable -help option with similar search of pwb.py

https://gerrit.wikimedia.org/r/578299