summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <paul@ice.snake.net>2004-11-10 22:43:09 -0600
committerunknown <paul@ice.snake.net>2004-11-10 22:43:09 -0600
commitbdea2dc949a30a8f9a3a9b28a8f9ffe0e8c32029 (patch)
treef5a73fe1b076fd5f28a882b3850657ffa92022e2 /scripts
parent6b1450d9b442a7d3bfe8715fbc6d97e27da1b817 (diff)
downloadmariadb-git-bdea2dc949a30a8f9a3a9b28a8f9ffe0e8c32029.tar.gz
fill_help_tables.sh:
Handle some additional Texinfo tags that were being missed. scripts/fill_help_tables.sh: Handle some additional Texinfo tags that were being missed.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fill_help_tables.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/fill_help_tables.sh b/scripts/fill_help_tables.sh
index cb5437f7178..1f44e9fa488 100644
--- a/scripts/fill_help_tables.sh
+++ b/scripts/fill_help_tables.sh
@@ -197,6 +197,9 @@ sub prepare_name
$a =~ s/(\@node(.*?)\n)/ /g;
$a =~ s/(\@tab)/\t/g;
$a =~ s/\@item/ /g;
+ $a =~ s/\@minus\{\}/-/g;
+ $a =~ s/\@var\{((.|\n)+?)\}/$1/go;
+ $a =~ s/\@command\{((.|\n)+?)\}/$1/go;
$a =~ s/\@code\{((.|\n)+?)\}/$1/go;
$a =~ s/\@strong\{(.+?)\}/$1/go;
$a =~ s/\@samp\{(.+?)\}/$1/go;
@@ -244,6 +247,9 @@ sub prepare_description
$a =~ s/(\@item)/ /g;
$a =~ s/(\@tindex\s(.*?)\n)//g;
$a =~ s/(\@c\s(.*?)\n)//g;
+ $a =~ s/\@minus\{\}/-/g;
+ $a =~ s/\@var\{((.|\n)+?)\}/$1/go;
+ $a =~ s/\@command\{((.|\n)+?)\}/$1/go;
$a =~ s/\@code\{((.|\n)+?)\}/$1/go;
$a =~ s/\@strong\{(.+?)\}/$1/go;
$a =~ s/\@samp\{(.+?)\}/$1/go;
@@ -273,6 +279,7 @@ sub prepare_example
$a =~ s/(^\@c for_help_topic(.*?)\n)//g;
+ $a =~ s/\@var\{((.|\n)+?)\}/$1/go;
$a =~ s/\\/\\\\/g;
$a =~ s/(\@{)/{/g;
$a =~ s/(\@})/}/g;