From 73a1d57fadb8ddda915bf2ec4d1bbf3bfbdfa97a Mon Sep 17 00:00:00 2001 From: oreoshake Date: Thu, 19 Apr 2012 11:04:54 -0700 Subject: [PATCH] Note that --compare only works with JSON --- lib/brakeman/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/brakeman/options.rb b/lib/brakeman/options.rb index 820c20d5..0e289866 100644 --- a/lib/brakeman/options.rb +++ b/lib/brakeman/options.rb @@ -173,7 +173,7 @@ module Brakeman::Options options[:min_confidence] = 3 - level.to_i end - opts.on "--compare FILE", "Compare the results of a previous brakeman scan" do |file| + opts.on "--compare FILE", "Compare the results of a previous brakeman scan (only JSON is supported)" do |file| options[:previous_results_json] = File.expand_path(file) end -- GitLab