]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix the handling of multiple Fl options:
authorTim Kientzle <kientzle@gmail.com>
Sun, 13 Mar 2011 07:43:36 +0000 (03:43 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 13 Mar 2011 07:43:36 +0000 (03:43 -0400)
   .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

doc/mdoc2wiki.awk

index 146d9619824f668afd0443ecfd88c8beea3489c8..fc59a790ef0249a8765011488a706870f56f1c4d 100755 (executable)
@@ -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 ..._")