tools/qvm-backup-restore: fix default list of VMs to restore
By default restore all of them, not only the ones named "[" or "]" (which are invalid name). Fixes QubesOS/qubes-issues#2924
This commit is contained in:
parent
6f1c7c2b23
commit
c736395432
@ -84,7 +84,7 @@ parser.add_argument("-p", "--passphrase-file", action="store",
|
||||
parser.add_argument('backup_location', action='store',
|
||||
help="Backup directory name, or command to pipe from")
|
||||
|
||||
parser.add_argument('vms', nargs='*', action='store', default='[]',
|
||||
parser.add_argument('vms', nargs='*', action='store', default=[],
|
||||
help='Restore only those VMs')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user