From 3f11a62cfa59175c0127fb4a351b59ceb0146169 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 27 Jun 2019 17:39:59 +0200 Subject: [PATCH] pve5to6: make this a simple CLI command with this it's enough to call `pve5to6`, no (sub)command needed Signed-off-by: Thomas Lamprecht --- PVE/CLI/pve5to6.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/PVE/CLI/pve5to6.pm b/PVE/CLI/pve5to6.pm index 622833b7..47469081 100644 --- a/PVE/CLI/pve5to6.pm +++ b/PVE/CLI/pve5to6.pm @@ -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;