Revision: 6809 Author: cosoleto Date: 2009-05-03 18:59:43 +0000 (Sun, 03 May 2009)
Log Message: ----------- Print global option help text to stdout.
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-05-03 17:38:53 UTC (rev 6808) +++ trunk/pywikipedia/wikipedia.py 2009-05-03 18:59:43 UTC (rev 6809) @@ -6788,7 +6788,7 @@ -verbose Have the bot provide additional output that may be useful in -v debugging. ''' - output(globalHelp) + output(globalHelp, toStdout = True) try: exec('import %s as module' % moduleName) helpText = module.__doc__.decode('utf-8')
pywikipedia-svn@lists.wikimedia.org