summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2011-03-13 03:43:36 -0400
committerTim Kientzle <kientzle@gmail.com>2011-03-13 03:43:36 -0400
commitd54cc6197f5ff32bfe71472d17732f0bbbf6f734 (patch)
treee4b8fcee4981d67e2448ff28250d2541924a7155 /doc
parent67f5c3d5aaedb40d859a2c771c2be57883da7c8c (diff)
downloadlibarchive-d54cc6197f5ff32bfe71472d17732f0bbbf6f734.tar.gz
Fix the handling of multiple Fl options:
.Fl Fl command used to cause -Fl command but now it generates --command. In the process, bolding of certain command options is lost; the logic here needs to be significantly reworked. SVN-Revision: 3010
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/mdoc2wiki.awk5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/mdoc2wiki.awk b/doc/mdoc2wiki.awk
index 146d9619..fc59a790 100755
--- a/doc/mdoc2wiki.awk
+++ b/doc/mdoc2wiki.awk
@@ -255,10 +255,7 @@ function splitwords(l, dest, n, o, w) {
} else if(match(words[w],"^Nd$")) {
add("- " wtail())
} else if(match(words[w],"^Fl$")) {
- if (displaylines == 0)
- add("*-" words[++w] "*")
- else
- add("-" words[++w])
+ addopen("-")
} else if(match(words[w],"^Ar$")) {
if(w==nwords)
add("_file ..._")