From 84f0b051de55b80211eab0ad2438f500af45e4a5 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 18 Dec 2003 21:08:25 +0000 Subject: Annotate enum.c. Add pager support, and report on methods in included modules git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/options.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/rdoc/options.rb') diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index 36b82eab7d..ab99c18b86 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -28,6 +28,9 @@ class Options # the first file we encounter is used) attr_accessor :main_page + # merge into classes of the name name when generating ri + attr_reader :merge + # Don't display progress as we process the files attr_reader :quiet @@ -160,6 +163,10 @@ class Options [ "--main", "-m", "name", "'name' will be the initial page displayed" ], + [ "--merge", "-M", nil, + "when creating ri output, merge processed classes\n" + + "into previously documented classes of the name name"], + [ "--one-file", "-1", nil, "put all the output into a single file" ], @@ -332,6 +339,7 @@ class Options @op_name = nil @show_all = false @main_page = nil + @marge = false @exclude = nil @quiet = false @generator_name = 'html' @@ -376,6 +384,7 @@ class Options when "--inline-source" then @inline_source = true when "--line-numbers" then @include_line_numbers = true when "--main" then @main_page = arg + when "--merge" then @merge = true when "--one-file" then @all_one_file = true when "--op" then @op_dir = arg when "--opname" then @op_name = arg -- cgit v1.2.3