comparison en/examples/run-example @ 664:8a9c66da6fcb

Fix thinko
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 09 Mar 2009 21:40:12 -0700
parents 0d5935744f87
children 27043f385f3f
comparison
equal deleted inserted replaced
663:0d5935744f87 664:8a9c66da6fcb
339 def print_help(exit, msg=None): 339 def print_help(exit, msg=None):
340 if msg: 340 if msg:
341 print >> sys.stderr, 'Error:', msg 341 print >> sys.stderr, 'Error:', msg
342 print >> sys.stderr, 'Usage: run-example [options] [test...]' 342 print >> sys.stderr, 'Usage: run-example [options] [test...]'
343 print >> sys.stderr, 'Options:' 343 print >> sys.stderr, 'Options:'
344 print >> sys.stderr, ' -a --all run all tests in this directory' 344 print >> sys.stderr, ' -a --all run all examples in this directory'
345 print >> sys.stderr, ' -h --help print this help message' 345 print >> sys.stderr, ' -h --help print this help message'
346 print >> sys.stderr, ' --help keep new output as desired output' 346 print >> sys.stderr, ' --help keep new output as desired output'
347 print >> sys.stderr, ' -v --verbose display extra debug output' 347 print >> sys.stderr, ' -v --verbose display extra debug output'
348 sys.exit(exit) 348 sys.exit(exit)
349 349