]> git.proxmox.com Git - pve-common.git/commit - data/PVE/JSONSchema.pm
improve get_options (allow argument lists)
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 14 Oct 2011 06:29:39 +0000 (08:29 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 14 Oct 2011 06:29:39 +0000 (08:29 +0200)
commit1d21344cf5daea0633f9e13a510e49f2bf6e8532
treed4f53a8d2b70abc6d8cb21f8ba28e68eec1f11f7
parent1c50a24addb8c7e589c98c586db86aefd98bea6e
improve get_options (allow argument lists)

So far it was possiple to specific lists by using option multiple times.

vzdump --vmid 100 --vmid 101

or

vzdump -vmid 100,101

No we can pass the vm list as arguments (not options)

vzdump 100 101
data/PVE/JSONSchema.pm
data/PVE/RESTHandler.pm