diff options
author | Timo Teräs <timo.teras@iki.fi> | 2022-01-21 14:47:54 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2022-01-21 14:47:54 +0200 |
commit | b7e3ca22f78c48fa20a5c3156541c51d224164f9 (patch) | |
tree | 435be20ffb839df6c15f35449fe53c8beca835c2 /src | |
parent | 10d00430636266d7bb70caacbd3e0642b3f70ceb (diff) | |
download | apk-tools-b7e3ca22f78c48fa20a5c3156541c51d224164f9.tar.gz apk-tools-b7e3ca22f78c48fa20a5c3156541c51d224164f9.tar.bz2 apk-tools-b7e3ca22f78c48fa20a5c3156541c51d224164f9.tar.xz apk-tools-b7e3ca22f78c48fa20a5c3156541c51d224164f9.zip |
genhelp: fix upper case substition
Diffstat (limited to 'src')
-rw-r--r-- | src/genhelp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genhelp.lua b/src/genhelp.lua index 51f5b73..43910ed 100644 --- a/src/genhelp.lua +++ b/src/genhelp.lua @@ -139,7 +139,7 @@ function scdoc:parse_default(ln) ln = ln:gsub("([^\\])%*(.-[^\\])%*", "%1%2") ln = ln:gsub("^%*(.-[^\\])%*", "%1") ln = ln:gsub("([^\\])_(.-[^\\])_", function(a,s) return a..s:upper() end) - ln = ln:gsub("^_(.-[^\\])_", function(a,s) return a..s:upper() end) + ln = ln:gsub("^_(.-[^\\])_", function(s) return s:upper() end) ln = ln:gsub("\\", "") self:section_text(ln) |