5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-03-12 20:58:26 +03:00

qm agent: add command line completion for vmid

This commit is contained in:
Dietmar Maurer 2016-11-30 12:47:03 +01:00
parent 96e6a80417
commit f38c5e270f

View File

@ -2854,7 +2854,8 @@ __PACKAGE__->register_method({
additionalProperties => 0,
properties => {
node => get_standard_option('pve-node'),
vmid => get_standard_option('pve-vmid'),
vmid => get_standard_option('pve-vmid', {
completion => \&PVE::QemuServer::complete_vmid_running }),
command => {
type => 'string',
description => "The QGA command.",