From c6ec71d846001dea6b923bc3b95682caf6a25c16 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 22 Jan 2024 12:52:41 +0100 Subject: [PATCH] schema: fixup description vs format_description in remote_format Signed-off-by: Wolfgang Bumiller --- src/PVE/JSONSchema.pm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 6e1cd11..7be0595 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -685,21 +685,26 @@ register_standard_option('bwlimit', { my $remote_format = { host => { type => 'string', - format_description => 'Remote Proxmox hostname or IP', + description => 'Remote Proxmox hostname or IP', + format_description => 'ADDRESS', }, port => { type => 'integer', optional => 1, + description => 'Port to connect to', + format_description => 'PORT', }, apitoken => { type => 'string', - format_description => 'A full Proxmox API token including the secret value.', + description => 'A full Proxmox API token including the secret value.', + format_description => 'user@realm!token=SECRET', }, fingerprint => get_standard_option( 'fingerprint-sha256', { optional => 1, - format_description => 'Remote host\'s certificate fingerprint, if not trusted by system store.', + description => 'Remote host\'s certificate fingerprint, if not trusted by system store.', + format_description => 'FINGERPRINT', } ), }; -- 2.39.2