summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-31 05:55:28 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-31 05:55:28 (GMT)
commit9cd5c850a4d92c0fc6b5cd68331f5280453f90d3 (patch)
treeab9c29b952c998bb6ee798c2cb8447c6e2d11c5c /tool
parenta27564377f2c52189860b1c1d6bbdd2c55725397 (diff)
ruby.1: fix --enable/disable
* man/ruby.1: missing Fl before --{enable|disable}. * tool/mdoc2man.rb (parse_macro): supprot braces, Bro and Brc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 274f2d5..1e6962a 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