EricFromCanada afc539f86e Update brew's man page formatting and grammar
Also update command specifications to match descriptions.
2017-02-25 17:37:57 -05:00

14 lines
264 B
Ruby

#: * `formula` <formula>:
#: Display the path where <formula> is located.
require "formula"
module Homebrew
module_function
def formula
raise FormulaUnspecifiedError if ARGV.named.empty?
ARGV.resolved_formulae.each { |f| puts f.path }
end
end