minor style and doc fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-06-13 10:43:41 +02:00
parent 94b4883904
commit 831a2fffb2
2 changed files with 10 additions and 10 deletions

View File

@ -52,14 +52,14 @@ my $PCI_RE = "[a-f0-9]{4,}:[a-f0-9]{2}:[a-f0-9]{2}(?:\.[a-f0-9])?";
my $map_fmt = {
node => get_standard_option('pve-node'),
id =>{
description => "The vendor and device ID that is expected. Used for".
" detecting hardware changes",
description => "The vendor and device ID that is expected. Used for"
." detecting hardware changes",
type => 'string',
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
},
'subsystem-id' => {
description => "The subsystem vendor and device ID that is expected. Used".
" for detecting hardware changes.",
description => "The subsystem vendor and device ID that is expected. Used"
." for detecting hardware changes.",
type => 'string',
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
optional => 1,
@ -74,8 +74,8 @@ my $map_fmt = {
},
iommugroup => {
type => 'integer',
description => "The IOMMU group in which the device is to be expected in.".
"Used for detecting hardware changes.",
description => "The IOMMU group in which the device is to be expected in."
." Used for detecting hardware changes.",
optional => 1,
},
description => {

View File

@ -50,8 +50,8 @@ sub type {
my $map_fmt = {
node => get_standard_option('pve-node'),
'id' => {
description => "The vendor and device ID that is expected. If a USB path".
" is given, it is only used for detecting hardware changes",
description => "The vendor and device ID that is expected. If a USB path"
." is given, it is only used for detecting hardware changes",
type => 'string',
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
},
@ -73,11 +73,11 @@ my $defaultData = {
propertyList => {
id => {
type => 'string',
description => "The ID of the logical PCI mapping.",
description => "The ID of the logical USB mapping.",
format => 'pve-configid',
},
description => {
description => "Description of the logical PCI device.",
description => "Description of the logical USB device.",
type => 'string',
optional => 1,
maxLength => 4096,