brew/Library/Homebrew/extend/optparse.rb

9 lines
147 B
Ruby
Raw Normal View History

2020-10-10 14:16:11 +02:00
# typed: strict
# 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