pve5to6: make this a simple CLI command

with this it's enough to call `pve5to6`, no (sub)command needed

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-06-27 17:39:59 +02:00
parent e6191e3eab
commit 3f11a62cfa

View File

@ -412,8 +412,9 @@ __PACKAGE__->register_method ({
return undef;
}});
our $cmddef = {
checklist => [ __PACKAGE__, 'checklist', [], {}],
};
our $cmddef = [ __PACKAGE__, 'checklist', [], {}];
# for now drop all unknown params and just check
@ARGV = ();
1;