lib/poolparty/helpers/optioner.rb in auser-poolparty-0.2.48 vs lib/poolparty/helpers/optioner.rb in auser-poolparty-0.2.49
- old
+ new
@@ -44,10 +44,10 @@
unless @abstract
opts.separator "Options:"
opts.on('-v', '--verbose', 'Be verbose') { self.verbose true }
- opts.on('-s [file]', '--spec-file [file]', 'Set the spec file') { |file| self.spec file }
+ opts.on('-s [file]', '--spec-file [file]', 'Set the spec file') { |file| self.spec file.chomp }
opts.on('-t', '--test', 'Testing mode') { self.testing true }
blk.call(opts, self) if blk
end
\ No newline at end of file