]> git.proxmox.com Git - pve-manager.git/commitdiff
vzdump: re-enable passing vmid lists at command line
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 19 Sep 2015 08:44:08 +0000 (10:44 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 19 Sep 2015 08:44:08 +0000 (10:44 +0200)
We lost that feature in a previous commit, so I just re-eanble it.

PVE/CLI/vzdump.pm

index e363f25d6f6916864df6c651181dc5dcad28f972..2b9231a8e4338325a8c1a773c1059f07b5cd9a69 100755 (executable)
@@ -8,7 +8,8 @@ use PVE::API2::VZDump;
 
 use base qw(PVE::CLIHandler);
 
-our $cmddef = [ 'PVE::API2::VZDump', 'vzdump', ['vmid'], undef,
+# Note: use string 'vmid' as $arg_param option, to allow vmid lists
+our $cmddef = [ 'PVE::API2::VZDump', 'vzdump', 'vmid', undef,
                sub {
                    my $upid = shift;
                    exit(0) if $upid eq 'OK';