Print vm list before prompt

This commit is contained in:
Christopher Laprise 2018-01-02 01:51:01 -05:00
parent 91928ae0c6
commit 8b03c9cc9c
No known key found for this signature in database
GPG Key ID: 448568C8B281C952

View File

@ -38,6 +38,8 @@ def main(args=None, app=None): # pylint: disable=missing-docstring
go_ahead = ""
if not args.no_confirm:
print("This will completely remove the selected VM(s)...")
for vm in args.domains:
print(" ", vm.name)
go_ahead = input("Are you sure? [y/N] ").upper()
if args.no_confirm or go_ahead == "Y":