brew/Library/Homebrew/extend/optparse.rb
2016-10-04 15:43:58 +02:00

7 lines
119 B
Ruby

require "optparse"
require "pathname"
OptionParser.accept Pathname do |path|
Pathname(path).expand_path if path
end