brew/Library/Homebrew/extend/optparse.rb

8 lines
131 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2016-08-18 22:11:42 +03:00
require "optparse"
OptionParser.accept Pathname do |path|
Pathname(path).expand_path if path
end