qubes/tools: allow unpause multiple domains at once

There is no reason to not allow it.
This commit is contained in:
Marek Marczykowski-Górecki 2016-08-09 05:11:30 +02:00
parent a1e2888e96
commit da6faf83bf
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -29,7 +29,7 @@ import qubes
parser = qubes.tools.QubesArgumentParser(
vmname_nargs=1,
vmname_nargs='+',
description='unpause a domain')
@ -41,7 +41,8 @@ def main(args=None):
'''
args = parser.parse_args(args)
args.domains[0].unpause()
for domain in args.domains:
domain.unpause()
return 0