Mercurial > hg > MakeItSo
comparison makeitso/makeitso.py @ 104:e059a58ea23c
update comment
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Tue, 11 Jan 2011 19:13:34 -0800 | 
| parents | a6aff990985b | 
| children | 67b50417b8d1 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 103:a6aff990985b | 104:e059a58ea23c | 
|---|---|
| 413 | 413 | 
| 414 # options about where to put things | 414 # options about where to put things | 
| 415 parser.add_option('-o', '--output', dest='output', | 415 parser.add_option('-o', '--output', dest='output', | 
| 416 help='where to put the output (filename or directory)') | 416 help='where to put the output (filename or directory)') | 
| 417 | 417 | 
| 418 # TODO | |
| 419 # options for (.ini) variables | 418 # options for (.ini) variables | 
| 420 parser.add_option('-c', '--config', dest='config', | 419 parser.add_option('-c', '--config', dest='config', | 
| 421 default=[], action='append', | 420 default=[], action='append', | 
| 422 help='.ini config files to read variables from') | 421 help='.ini config files to read variables from') | 
| 423 if dotfile: | 422 if dotfile: | 
| 424 parser.add_option('--no-defaults', dest='use_defaults', | 423 parser.add_option('--no-defaults', dest='use_defaults', | 
| 425 default=True, action='store_false', | 424 default=True, action='store_false', | 
| 426 help="don't read ~/.makeitso") | 425 help="don't read ~/.makeitso") | 
| 427 | 426 | 
| 427 # TODO | |
| 428 # parser.add_option('-u', '--update', dest='update', | 428 # parser.add_option('-u', '--update', dest='update', | 
| 429 # help="update the specified .ini file for variables read from this run") | 429 # help="update the specified .ini file for variables read from this run") | 
| 430 # parser.add_option('-U', '--Update', dest='Update', | 430 # parser.add_option('-U', '--Update', dest='Update', | 
| 431 # help="same as -u, but update the global [DEFAULTS] section") | 431 # help="same as -u, but update the global [DEFAULTS] section") | 
| 432 # parser.add_option('--dry-run', dest='dry_run', | 432 # parser.add_option('--dry-run', dest='dry_run', | 
