Permalink
Browse files

Change some help wording

  • Loading branch information...
1 parent 3d55b89 commit 6f8f2a97a2a853353dcb56eb229546d755596156 @codeferret codeferret committed Apr 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/brakeman/options.rb
@@ -130,7 +130,7 @@ def get_options args, destructive = false
opts.on "-f",
"--format TYPE",
[:pdf, :text, :html, :csv, :tabs, :json],
- "Specify output formats. Default is text." do |type|
+ "Specify output formats. Default is text" do |type|
type = "s" if type == :text
options[:output_format] = ("to_" << type.to_s).to_sym
@@ -152,7 +152,7 @@ def get_options args, destructive = false
options[:message_limit] = limit.to_i
end
- opts.on "-o", "--output FILE", "Specify files for output. Defaults to stdout. Can specify multiple times for multiple formats." do |file|
+ opts.on "-o", "--output FILE", "Specify files for output. Defaults to stdout. Multiple '-o's allowed" do |file|
options[:output_files] ||= []
options[:output_files].push(file)
end

0 comments on commit 6f8f2a9

Please sign in to comment.