gist-logs: use ARGV.resolved_formulae
This commit is contained in:
parent
04c274f727
commit
c41c473513
@ -131,12 +131,12 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def gist_logs
|
def gist_logs
|
||||||
if ARGV.formulae.length != 1
|
if ARGV.resolved_formulae.length != 1
|
||||||
puts "usage: brew gist-logs [--new-issue|-n] <formula>"
|
puts "usage: brew gist-logs [--new-issue|-n] <formula>"
|
||||||
Homebrew.failed = true
|
Homebrew.failed = true
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
gistify_logs(ARGV.formulae[0])
|
gistify_logs(ARGV.resolved_formulae[0])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user