Ned Batchelder committed cd7b359

Change pypy_interact's default to quiet, you have to ask for verbose.

  • Participants
  • Parent commits c03e4d0
  • Branches nedbat-sandbox-2

Comments (0)

Files changed (1)

File pypy/translator/sandbox/

                   ATM this only works with PyPy translated with Boehm or
                   the semispace or generation GCs.
     --timeout=N   limit execution time to N (real-time) seconds.
-    --log=FILE    log all user input into the FILE
+    --log=FILE    log all user input into the FILE.
+    --verbose     log all proxied system calls.
 Note that you can get readline-like behavior with a tool like 'ledit',
 provided you use enough -u options:
 if __name__ == '__main__':
     from getopt import getopt      # and not gnu_getopt!
-    options, arguments = getopt(sys.argv[1:], 't:hq', 
+    options, arguments = getopt(sys.argv[1:], 't:hv', 
                                 ['tmp=', 'heapsize=', 'timeout=', 'log=',
-                                 'quiet', 'help'])
+                                 'verbose', 'help'])
     tmpdir = None
     timeout = None
     logfile = None
-    debug = True
+    debug = False
     extraoptions = []
     def help():
             timeout = int(value)
         elif option == '--log':
             logfile = value
-        elif option in ['-q', '--quiet']:
-            debug = False
+        elif option in ['-v', '--verbose']:
+            debug = True
         elif option in ['-h', '--help']: