diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-18 21:08:25 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-18 21:08:25 +0000 |
commit | 84f0b051de55b80211eab0ad2438f500af45e4a5 (patch) | |
tree | e1dc66c1eeaa459b2d9578e2b63cb9442f819368 /lib/rdoc/options.rb | |
parent | f75aff0139347afb89fcb931f6cc78703bb5c36a (diff) |
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
Diffstat (limited to 'lib/rdoc/options.rb')
-rw-r--r-- | lib/rdoc/options.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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 |