[pypy-svn] rev 882 - in pypy/trunk/src/pypy: interpreter tool
mwh at codespeak.net
mwh at codespeak.net
Sat Jun 21 19:07:33 CEST 2003
Author: mwh
Date: Sat Jun 21 19:07:32 2003
New Revision: 882
Modified:
pypy/trunk/src/pypy/interpreter/py.py
pypy/trunk/src/pypy/tool/option.py
Log:
add some help for docstrings
Modified: pypy/trunk/src/pypy/interpreter/py.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/py.py (original)
+++ pypy/trunk/src/pypy/interpreter/py.py Sat Jun 21 19:07:32 2003
@@ -11,7 +11,8 @@
def get_main_options():
options = option.get_standard_options()
options.append(make_option(
- '-i', action="store_true", dest="interactive"))
+ '-i', action="store_true", dest="interactive",
+ help="inspect interactively after running script"))
def command_callback(option, opt, value, parser):
parser.values.command = parser.rargs[:]
@@ -19,7 +20,8 @@
options.append(make_option(
'-c', action="callback",
- callback=command_callback))
+ callback=command_callback,
+ help="program passed in as CMD (terminates option list)"))
return options
Modified: pypy/trunk/src/pypy/tool/option.py
==============================================================================
--- pypy/trunk/src/pypy/tool/option.py (original)
+++ pypy/trunk/src/pypy/tool/option.py Sat Jun 21 19:07:32 2003
@@ -22,9 +22,11 @@
callback=objspace_callback, callback_args=("trivial",),
help="run in trivial object space"))
options.append(make_option(
- '-v', action="count", dest="verbose"))
+ '-v', action="count", dest="verbose",
+ help="verbose"))
options.append(make_option(
- '-w', action="store_true", dest="showwarning"))
+ '-w', action="store_true", dest="showwarning",
+ help="something to do with warnings (ask Holger!)"))
return options
More information about the Pypy-commit
mailing list