Update documentation for 4.61 and some of the preparation tools.
[exim.git] / doc / doc-docbook / x2man
index 9765ded0db3847e79d7792f817427ecf71ef5094..474d068a3fb8113adbf5b3e2fb291b173fdeb3f0 100755 (executable)
@@ -1,6 +1,6 @@
 #! /usr/bin/perl -w
 
-# $Cambridge: exim/doc/doc-docbook/x2man,v 1.2 2006/02/01 11:01:02 ph10 Exp $
+# $Cambridge: exim/doc/doc-docbook/x2man,v 1.3 2006/04/04 14:03:49 ph10 Exp $
 
 # Script to find the command line options in the DocBook source of the Exim
 # spec, and turn them into a man page, because people like that.
@@ -96,7 +96,7 @@ while ($next)
 
   # Start of new option
 
-  if (/^<term>(<emphasis role="bold">-.*?)<\/term>$/)
+  if (/^<term>(?=<option>-)(.*?)<\/term>$/)
     {
     print OUT ".TP 10\n";
     $_ = "$1\n";