X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/19304f7c526fbe36ba0db2fb80bcaf3bd974d81d..be6638c868b4359f522392f96bf11002f6af9221:/doc/gen-map-doc?ds=inline 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; }