This allows to introduce other subcommands, e.g. for manual actions rqeuired before the upgrade.
Signed-off-by: Friedrich Weber <f.we...@proxmox.com> --- Notes: changes since v3: - rephrase commit message new in v3 PVE/CLI/pve8to9.pm | 4 +++- bin/Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/CLI/pve8to9.pm b/PVE/CLI/pve8to9.pm index 45692748..c3fb0b0b 100644 --- a/PVE/CLI/pve8to9.pm +++ b/PVE/CLI/pve8to9.pm @@ -1595,6 +1595,8 @@ __PACKAGE__->register_method({ }, }); -our $cmddef = [__PACKAGE__, 'checklist', [], {}]; +our $cmddef = { + checklist => [__PACKAGE__, 'checklist', []], +}; 1; diff --git a/bin/Makefile b/bin/Makefile index caed0af4..23635a16 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -73,7 +73,7 @@ pve8to9.1: before, and during the upgrade of a Proxmox VE system\n" >> $@.tmp printf "Any failure must be addressed before the upgrade, and any warning must be addressed, \ or at least carefully evaluated, if a false-positive is suspected\n" >> $@.tmp - printf ".SH SYNOPSIS\npve8to9 [--full]\n" >> $@.tmp + printf ".SH SYNOPSIS\npve8to9 checklist [--full]\n" >> $@.tmp mv $@.tmp $@ -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel