brew/Library/Homebrew/extend/optparse.rb
2020-10-10 14:59:39 +02:00

9 lines
147 B
Ruby

# typed: strict
# frozen_string_literal: true
require "optparse"
OptionParser.accept Pathname do |path|
Pathname(path).expand_path if path
end