X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=gen-pct-mountpoint-opts.pl;fp=gen-pct-mountpoint-opts.pl;h=151c18a2ac6fe85a7f052de515aa48110a46f37c;hp=6c2269cb97ecc37f2201a148b23c88fee91cc03f;hb=e7ff87618518ae851c9dff342c5f5059309c3b5a;hpb=013dc89ffce47b8c55412c016a508205768b4fd6 diff --git a/gen-pct-mountpoint-opts.pl b/gen-pct-mountpoint-opts.pl index 6c2269c..151c18a 100755 --- a/gen-pct-mountpoint-opts.pl +++ b/gen-pct-mountpoint-opts.pl @@ -15,10 +15,14 @@ my $mp_prop = $prop->{mp0}; my $typetext = PVE::JSONSchema::schema_get_type_text($rootfs_prop); -print "`rootfs`: `$typetext`\n\n"; +print "`rootfs`: `$typetext` ::\n\n"; + +print $rootfs_prop->{description} . + " See below for a detailed description of all options.\n\n"; $typetext = PVE::JSONSchema::schema_get_type_text($mp_prop); -print "`mp[n]`: `$typetext`\n\n"; +print "`mp[n]`: `$typetext` ::\n\n"; +print $mp_prop->{description} . "\n\n"; -print PVE::RESTHandler::dump_properties($mp_prop->{format}); +print PVE::RESTHandler::dump_properties($mp_prop->{format}, 'asciidoc', 'config-sub');