lib/gistory/cli/arg_parser.rb in gistory-0.1.7 vs lib/gistory/cli/arg_parser.rb in gistory-0.1.8

- old
+ new

@@ -16,11 +16,11 @@ @parser.parse!(@args) parse_gem_name @io.error("extra parameters ignored: #{@args}") unless @args.count.zero? @config - rescue OptionParser::InvalidOption => err - raise(Gistory::ParserError, err.message) + rescue OptionParser::InvalidOption => e + raise(Gistory::ParserError, e.message) end def to_s @parser.to_s end