mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-27 23:32:06 +00:00
Removed old -l option for create
This commit is contained in:
parent
1520abd742
commit
1b1e7b1eb8
@ -282,10 +282,6 @@ def get_template_info():
|
||||
return os.linesep.join(lines) + os.linesep
|
||||
|
||||
|
||||
def list_templates():
|
||||
print get_template_info()
|
||||
|
||||
|
||||
def get_template_data(template):
|
||||
path = os.path.join(get_template_path(), template)
|
||||
try:
|
||||
@ -496,10 +492,7 @@ def run():
|
||||
log.setLevel(logging.INFO)
|
||||
|
||||
if command == "create":
|
||||
if options.list or options.template is None:
|
||||
list_templates()
|
||||
else:
|
||||
create_image(options.template, disk_image_name)
|
||||
create_image(options.template[0], disk_image_name)
|
||||
else:
|
||||
parser = find_diskimage(disk_image_name)
|
||||
if parser and parser.image:
|
||||
|
Loading…
Reference in New Issue
Block a user