Mercurial > hg > MakeItSo
comparison makeitso/makeitso.py @ 93:d5da38fabdf7
note command line options needed for variable handling
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 11 Jan 2011 07:30:31 -0800 |
parents | 26b9c3bba04e |
children | b6a46332cced |
comparison
equal
deleted
inserted
replaced
92:bfab7367eb56 | 93:d5da38fabdf7 |
---|---|
389 | 389 |
390 # options about where to put things | 390 # options about where to put things |
391 parser.add_option('-o', '--output', dest='output', | 391 parser.add_option('-o', '--output', dest='output', |
392 help='where to put the output (filename or directory)') | 392 help='where to put the output (filename or directory)') |
393 | 393 |
394 # TODO | |
395 # options for (.ini) variables | |
396 # parser.add_option('-c', '--config', dest='config' | |
397 # default=[], action='append', | |
398 # help='.ini config files to read variables from') | |
399 # parser.add_option('--no-defaults', dest='use_defaults', | |
400 # default=True, action='store_false', | |
401 # help="don't read ~/.makeitso") # XXX should only be displayed if ~/.makeitso exists | |
402 # parser.add_option('-u', '--update', dest='update', | |
403 # help="update the specified .ini file for variables read from this run") | |
404 # parser.add_option('-U', '--Update', dest='Update', | |
405 # help="same as -u, but update the global [DEFAULTS] section") | |
406 # parser.add_option('--dry-run', dest='dry_run', | |
407 # default=False, action='store_true', | |
408 # help="don't actually do the substitution but do everything else") | |
409 | |
394 # options for getting information | 410 # options for getting information |
395 parser.add_option('--commandline', dest='commandline', | 411 parser.add_option('--commandline', dest='commandline', |
396 action='store_true', default=False, | 412 action='store_true', default=False, |
397 help="print the commandline to invoke this script TTW") | 413 help="print the commandline to invoke this script TTW") |
398 parser.add_option('--variables', dest='variables', | 414 parser.add_option('--variables', dest='variables', |