jenkins-bot has submitted this change and it was merged.
Change subject: Show __doc__ if pwb.py is called without arguments ......................................................................
Show __doc__ if pwb.py is called without arguments
Change-Id: I96ee324611fdd77ef48ce78aafa9b7466cb7723f --- M pwb.py 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved Pyfisch: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/pwb.py b/pwb.py index 1c49181..d0e1aeb 100644 --- a/pwb.py +++ b/pwb.py @@ -124,3 +124,5 @@ else: raise Exception("%s not found!" % fn) run_python_file(fn, argv, argvu) +elif __name__ == "__main__": + print __doc__
pywikibot-commits@lists.wikimedia.org