]> git.proxmox.com Git - pve-docs.git/blobdiff - gen-pct-mountpoint-opts.pl
gen-pct-mountpoint-opts.pl: improve layout
[pve-docs.git] / gen-pct-mountpoint-opts.pl
index 6c2269cb97ecc37f2201a148b23c88fee91cc03f..151c18a2ac6fe85a7f052de515aa48110a46f37c 100755 (executable)
@@ -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');