lib/har/viewer.rb in har-0.0.1 vs lib/har/viewer.rb in har-0.0.2
- old
+ new
@@ -72,10 +72,15 @@
opts.on "-p", "--port PORT", Integer do |int|
options[:port] = int
end
- opts.on "-v", "--validate" do
+ opts.on "-v", "--version" do
+ puts "har #{HAR::VERSION}"
+ exit
+ end
+
+ opts.on "-w", "--validate" do
options[:validate] = true
end
end.parse!(args)
options
\ No newline at end of file