[pypy-svn] r10105 - pypy/dist/pypy/tool

sanxiyn at codespeak.net sanxiyn at codespeak.net
Wed Mar 23 02:04:05 CET 2005


Author: sanxiyn
Date: Wed Mar 23 02:04:05 2005
New Revision: 10105

Modified:
   pypy/dist/pypy/tool/option.py
Log:
fix py.py -h properly (cf. r10058)


Modified: pypy/dist/pypy/tool/option.py
==============================================================================
--- pypy/dist/pypy/tool/option.py	(original)
+++ pypy/dist/pypy/tool/option.py	Wed Mar 23 02:04:05 2005
@@ -18,8 +18,8 @@
         parser.values.spaces.append(value)
 
     options.append(make_option(
-        '-o', '--objspace', action="callback",
-        callback=objspace_callback,  type="string", dest="objspacename",
+        '-o', '--objspace', action="callback", metavar='NAME',
+        callback=objspace_callback,  type="string",
         help="object space to run PyPy on."))
 
     options.append(make_option(
@@ -32,7 +32,6 @@
         '-H', action="callback",
         callback=run_tb_server,
         help="use web browser for traceback info"))
-        
 
     return options
 



More information about the Pypy-commit mailing list