This allows to introduce other subcommands, e.g. for manual actions rqeuired before the upgrade.
TODO: Update the manpage. Signed-off-by: Friedrich Weber <f.we...@proxmox.com> --- Notes: 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 42b7073b..fbb96491 100644 --- a/PVE/CLI/pve8to9.pm +++ b/PVE/CLI/pve8to9.pm @@ -1538,6 +1538,8 @@ __PACKAGE__->register_method ({ return undef; }}); -our $cmddef = [ __PACKAGE__, 'checklist', [], {}]; +our $cmddef = { + checklist => [ __PACKAGE__, 'checklist', []], +}; 1; diff --git a/bin/Makefile b/bin/Makefile index cfe81a22..aa5878c7 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -80,7 +80,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 $@ pveversion.1.pod: pveversion -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel