aboutsummaryrefslogtreecommitdiffstats
path: root/docbook
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-07-20 14:32:28 -0700
committerGerald Combs <gerald@wireshark.org>2022-07-20 14:52:40 -0700
commitfbadb8c785fcb130e99741541197486bf94a07e4 (patch)
tree53d29a8d487a4be873ccd443363cea33089fc090 /docbook
parent897bc6d27c66b20623378249bd5638c03f44624b (diff)
wslua: Capitalize words in our markup.
Capitalize words in our markup instead of depending on make-wsluarm.pl. Add a single space after "Mode:".
Diffstat (limited to 'docbook')
-rwxr-xr-xdocbook/make-wsluarm.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/docbook/make-wsluarm.pl b/docbook/make-wsluarm.pl
index 16b753a922..9aa957b18e 100755
--- a/docbook/make-wsluarm.pl
+++ b/docbook/make-wsluarm.pl
@@ -83,8 +83,6 @@ sub parse_desc_common {
# (ie, <para> followed by </para>), so we do this stuff to a temp @r
# array and then copy the non-empty ones into the passed-in array @ret
if ($#lines >= 0) {
- # capitalize the first letter of the first line
- $lines[0] = ucfirst($lines[0]);
# for each double newline, break into separate para's
for (my $idx=0; $idx <= $#lines; $idx++) {
@@ -222,9 +220,9 @@ sub parse_attrib_desc {
my $mode = shift;
if ($mode) {
- $mode =~ s/RO/ Retrieve only./;
- $mode =~ s/WO/ Assign only./;
- $mode =~ s/RW|WR/ Retrieve or assign./;
+ $mode =~ s/RO/Retrieve only./;
+ $mode =~ s/WO/Assign only./;
+ $mode =~ s/RW|WR/Retrieve or assign./;
$r[++$#r] = "Mode: $mode\n\n";
} else {
die "Attribute does not have a RO/WO/RW mode: '$s'\n";