comparison makeitso/makeitso.py @ 256:f10f5beb8ad1

pytest now actually runs the tests
author Jeff Hammel <k0scist@gmail.com>
date Sat, 27 May 2017 09:37:15 -0700
parents 407dd46857e1
children 7e3a32f2794a
comparison
equal deleted inserted replaced
255:4a0bf841ebbf 256:f10f5beb8ad1
427 if dotfile: 427 if dotfile:
428 parser.add_option('--no-defaults', dest='use_defaults', 428 parser.add_option('--no-defaults', dest='use_defaults',
429 default=True, action='store_false', 429 default=True, action='store_false',
430 help="don't read ~/.makeitso") 430 help="don't read ~/.makeitso")
431 431
432 # TODO:
433 # parser.add_option('-u', '--update', dest='update',
434 # help="update the specified .ini file for variables read from this run")
435 # parser.add_option('-U', '--Update', dest='Update',
436 # help="same as -u, but update the global [DEFAULTS] section")
437 # parser.add_option('--dry-run', dest='dry_run',
438 # default=False, action='store_true',
439 # help="don't actually do the substitution but do everything else")
440
441 # options for getting information 432 # options for getting information
442 parser.add_option('--commandline', dest='commandline', 433 parser.add_option('--commandline', dest='commandline',
443 action='store_true', default=False, 434 action='store_true', default=False,
444 help="print the commandline to invoke this script TTW") 435 help="print the commandline to invoke this script TTW")
445 parser.add_option('--variables', dest='variables', 436 parser.add_option('--variables', dest='variables',