lib/poolparty/helpers/optioner.rb in auser-poolparty-0.2.94 vs lib/poolparty/helpers/optioner.rb in auser-poolparty-1.0.0
- old
+ new
@@ -72,10 +72,10 @@
self.quiet false
end
def parse_options(&blk)
progname = $0.include?("-") ? "#{::File.basename($0[/(\w+)-/, 1])} #{::File.basename($0[/-(.*)/, 1])}" : ::File.basename($0)
- @opts = OptionParser.new
+ @opts = OptionParser.new
@opts.banner = "Usage: #{progname} #{@abstract ? "[command] " : ""}[options]"
@opts.separator ""
unless @abstract
\ No newline at end of file