bin/stresser-grapher in stresser-0.3.2 vs bin/stresser-grapher in stresser-0.4.0

- old
+ new

@@ -21,10 +21,10 @@ :default => "lib/reports.yml" opt :output_dir, "Output directory", :type => String end.merge(:csv_file => ARGV.last) -Trollop::die :output_dir, "must be writeable" unless opts[:output_dir] and File.stat(opts[:output_dir]).writable? +Trollop::die :output_dir, "must be writeable" unless opts[:output_dir] and File.stat(opts[:output_dir]).writable? Trollop::die :output_dir, "must be a directory" unless opts[:output_dir] and File.stat(opts[:output_dir]).directory? Grapher.generate_reports(opts) `open #{ARGV[1]}` if ARGV.last == "open"