Skip to content

Commit

Permalink
Remove unused --all option
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Aug 20, 2010
1 parent a6048c9 commit d76fe2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 2 additions & 0 deletions History.txt
Expand Up @@ -3,6 +3,8 @@
* Minor Enhancements
* Alias comments are now discovered by the C parser. Reported by Jeremy
Evans.
* Removed --all option which is unused in RDoc. Use the nodoc or
stopdoc/startdoc directives to suppress documentation instead.

=== 2.5.10 / 2010-08-17

Expand Down
2 changes: 1 addition & 1 deletion lib/rdoc.rb
Expand Up @@ -383,7 +383,7 @@ def self.const_missing const_name # :nodoc:
##
# RDoc version you are using

VERSION = '2.5.10'
VERSION = '2.5.11'

##
# Name of the dotfile that contains the description of files to be processed
Expand Down
14 changes: 0 additions & 14 deletions lib/rdoc/options.rb
Expand Up @@ -58,11 +58,6 @@ class RDoc::Options

attr_reader :rdoc_include

##
# Include private and protected methods in the output?

attr_accessor :show_all

##
# Include the '#' at the front of hyperlinked instance method names

Expand Down Expand Up @@ -96,7 +91,6 @@ class RDoc::Options
def initialize # :nodoc:
require 'rdoc/rdoc'
@op_dir = nil
@show_all = false
@main_page = nil
@exclude = []
@generators = RDoc::RDoc::GENERATORS
Expand Down Expand Up @@ -160,14 +154,6 @@ def parse(argv)
opt.separator "Parsing Options:"
opt.separator nil

opt.on("--all", "-a",
"Include all methods (not just public) in",
"the output.") do |value|
@show_all = value
end

opt.separator nil

opt.on("--exclude=PATTERN", "-x", Regexp,
"Do not process files or directories",
"matching PATTERN.") do |value|
Expand Down

0 comments on commit d76fe2b

Please sign in to comment.