lib/poolparty/helpers/optioner.rb in auser-poolparty-0.2.26 vs lib/poolparty/helpers/optioner.rb in auser-poolparty-0.2.35
- old
+ new
@@ -40,10 +40,10 @@
opts.separator "Options:"
opts.on('-V', '--version', 'Display the version') { output_version ; exit 0 }
opts.on('-v', '--verbose', 'Be verbose') { @options[:verbose] = true }
opts.on('-s [file]', '--spec-file [file]', 'Set the spec file') { |file| self.spec file }
- opts.on('-t', '--test', 'Testing mode') { self.testing "true" }
+ opts.on('-t', '--test', 'Testing mode') { self.testing true }
blk.call(opts, self) if blk
opts.on_tail("-h", "--help", "Show this message") do
puts opts
\ No newline at end of file