Mercurial > hg > MakeItSo
comparison makeitso/makeitso.py @ 185:0fd0cc154153
STUB: makeitso/makeitso.py setup.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 26 Mar 2014 21:28:47 -0700 |
parents | 668b01d04457 |
children | fa496c9e9d73 |
comparison
equal
deleted
inserted
replaced
184:be33152d7d0c | 185:0fd0cc154153 |
---|---|
443 parser.add_option('--variables', dest='variables', | 443 parser.add_option('--variables', dest='variables', |
444 action='store_true', default=False, | 444 action='store_true', default=False, |
445 help='print the variables in a template') | 445 help='print the variables in a template') |
446 entry_points = get_entry_points() | 446 entry_points = get_entry_points() |
447 if entry_points: | 447 if entry_points: |
448 parser.add_option('--list-templates', dest='list_templates', | 448 parser.add_option('--list', '--list-templates', |
449 dest='list_templates', | |
449 action='store_true', default=False, | 450 action='store_true', default=False, |
450 help="list installed MakeItSo! templates") | 451 help="list installed templates") |
451 | 452 |
452 options, args = parser.parse_args(args) | 453 options, args = parser.parse_args(args) |
453 | 454 |
454 # list the templates | 455 # list the templates |
455 if entry_points and options.list_templates: | 456 if entry_points and options.list_templates: |