aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/gist-logs.rb
diff options
context:
space:
mode:
authorXu Cheng2015-05-17 20:27:43 +0800
committerXu Cheng2015-05-27 13:53:41 +0800
commitc41c473513e736d784164c93779c4d7ab4eca56f (patch)
tree54b5a892c45c3b9ff1091e91d6b9ac6948fc65f9 /Library/Homebrew/cmd/gist-logs.rb
parent04c274f7278b309fe3766d4306910072cc2c87dc (diff)
downloadbrew-c41c473513e736d784164c93779c4d7ab4eca56f.tar.bz2
gist-logs: use ARGV.resolved_formulae
Diffstat (limited to 'Library/Homebrew/cmd/gist-logs.rb')
-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