]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/JSONSchema.pm
bump version to 8.2.1
[pve-common.git] / src / PVE / JSONSchema.pm
index 6e1cd11384e1e3964a9b5712368be949cccb5eaa..115f811043360204c2ab07e86b8feb5278f2d594 100644 (file)
@@ -84,6 +84,7 @@ register_standard_option('pve-iface', {
 register_standard_option('pve-storage-id', {
     description => "The storage identifier.",
     type => 'string', format => 'pve-storage-id',
+    format_description => 'storage ID',
 });
 
 register_standard_option('pve-bridge-id', {
@@ -685,21 +686,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 => 'PVEAPIToken=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',
        }
     ),
 };