aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/gist-logs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb
index ea3a9e609..ffd02ab52 100644
--- a/Library/Homebrew/cmd/gist-logs.rb
+++ b/Library/Homebrew/cmd/gist-logs.rb
@@ -131,12 +131,12 @@ module Homebrew
end
def gist_logs
- if ARGV.formulae.length != 1
+ if ARGV.resolved_formulae.length != 1
puts "usage: brew gist-logs [--new-issue|-n] <formula>"
Homebrew.failed = true
return
end
- gistify_logs(ARGV.formulae[0])
+ gistify_logs(ARGV.resolved_formulae[0])
end
end