X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/19304f7c526fbe36ba0db2fb80bcaf3bd974d81d..7430e8e25ae5bf699cdb09724ba9ac1df2d9e6ae:/doc/gen-map-doc?ds=sidebyside diff --git a/doc/gen-map-doc b/doc/gen-map-doc index cafc68d..1a99cf8 100644 --- a/doc/gen-map-doc +++ b/doc/gen-map-doc @@ -49,17 +49,19 @@ open XML, $xml or die "$xml: $!"; while () { if (/__print_map\((.*)\)/) { my $map = $1; + my $maptitle = $1; + $maptitle =~ s/^(.)/\U$1\E/; unless ($MAP{$map}) { warn "map $map undefined"; next; } print < -$map menu + +$maptitle Menu $DOC{$map} - -Default $map function bindings +
+Default $map Function Bindings FunctionDefault keyDescription @@ -73,7 +75,7 @@ $MAP{$map} EOT - delete $MAP{$1}; + delete $MAP{$map}; } else { print; }