lib/jazrb/options.rb in smparkes-jazrb-0.0.9 vs lib/jazrb/options.rb in smparkes-jazrb-0.0.10
- old
+ new
@@ -1,18 +1,23 @@
require 'optparse'
$jazrb_verbose = false
$jazrb_xml = false
$jazrb_deps = nil
+$jazrb_qunit = false
OptionParser.new do |o|
o.on("-v","--verbose") do
$jazrb_verbose = true
end
o.on("-x","--xml") do
$jazrb_xml = true
+ end
+
+ o.on("-q","--qunit") do
+ $jazrb_qunit = true
end
o.on("--deps PATH") do |path|
$jazrb_deps = path
end