comparison bitten/master.py @ 242:372d1de2e3ec

* Fixes to the `<c:configure>` command added in [247]: Set current directory when invoking the script, and correctly pass `CFLAGS` and `CXXFLAGS`. * Clean-up of the `optparse` options: use `store_true` instead o `store_const` with `const=True`.
author cmlenz
date Sun, 02 Oct 2005 17:59:15 +0000
parents a8c9dd7e3f71
children a22ec8fce6c9
comparison
equal deleted inserted replaced
241:d3c8a74922cd 242:372d1de2e3ec
354 parser.add_option('-l', '--log', dest='logfile', metavar='FILENAME', 354 parser.add_option('-l', '--log', dest='logfile', metavar='FILENAME',
355 help='write log messages to FILENAME') 355 help='write log messages to FILENAME')
356 parser.add_option('-i', '--interval', dest='interval', metavar='SECONDS', 356 parser.add_option('-i', '--interval', dest='interval', metavar='SECONDS',
357 default=DEFAULT_CHECK_INTERVAL, type='int', 357 default=DEFAULT_CHECK_INTERVAL, type='int',
358 help='poll interval for changeset detection') 358 help='poll interval for changeset detection')
359 parser.add_option('--timewarp', action='store_const', dest='timewarp', 359 parser.add_option('--timewarp', action='store_true', dest='timewarp',
360 const=True,
361 help='adjust timestamps of builds to be neat the ' 360 help='adjust timestamps of builds to be neat the '
362 'timestamps of the corresponding changesets') 361 'timestamps of the corresponding changesets')
363 parser.add_option('--debug', action='store_const', dest='loglevel', 362 parser.add_option('--debug', action='store_const', dest='loglevel',
364 const=logging.DEBUG, help='enable debugging output') 363 const=logging.DEBUG, help='enable debugging output')
365 parser.add_option('-v', '--verbose', action='store_const', dest='loglevel', 364 parser.add_option('-v', '--verbose', action='store_const', dest='loglevel',
Copyright (C) 2012-2017 Edgewall Software