Skip to content

Commit

Permalink
Cleaned some cruft out of the manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrutherford committed Feb 7, 2009
1 parent 2084c72 commit 020d69b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 0 additions & 5 deletions Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,3 @@ spec/spec_helper.rb
tasks/reek.rake
tasks/rspec.rake
tasks/samples.rake
website/index.html
website/index.txt
website/javascripts/rounded_corners_lite.inc.js
website/stylesheets/screen.css
website/template.rhtml
5 changes: 3 additions & 2 deletions lib/reek/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def self.set_options(opts, config)
Usage: #{opts.program_name} [options] SOURCES
The SOURCES may be any combination of file paths and Ruby source code.
See http://wiki.github.com/kevinrutherford/reek for detailed help.
EOB

opts.separator "\nOptions:"
Expand Down Expand Up @@ -73,10 +74,10 @@ def self.set_sort_option(config, opts)
opts.on('-f', "--format FORMAT", 'Specify the format of smell warnings') do |arg|
config[:format] = arg unless arg.nil?
end
opts.on('-c', "Sort by context; sets the format string to \"#{CTX_SORT}\"") do
opts.on('-c', '--context-first', "Sort by context; sets the format string to \"#{CTX_SORT}\"") do
config[:format] = CTX_SORT
end
opts.on('-s', "Sort by smell; sets the format string to \"#{SMELL_SORT}\"") do
opts.on('-s', '--smell-first', "Sort by smell; sets the format string to \"#{SMELL_SORT}\"") do
config[:format] = SMELL_SORT
end
end
Expand Down

0 comments on commit 020d69b

Please sign in to comment.