summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mdoc2man.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/tool/mdoc2man.rb b/tool/mdoc2man.rb
index 274f2d5d08..1e6962ae43 100755
--- a/tool/mdoc2man.rb
+++ b/tool/mdoc2man.rb
@@ -235,6 +235,13 @@ class Mdoc2Man
when 'Ux'
retval << "UNIX"
next
+ when 'Bro'
+ retval << '{'
+ @nospace = 1 if @nospace == 0
+ next
+ when 'Brc'
+ retval.sub!(/ *\z/, '}')
+ next
end
if @reference