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:
Marek Marczykowski-Górecki 2017-07-19 23:52:11 +02:00
parent 6f1c7c2b23
commit c736395432
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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')