Sanity check
This commit is contained in:
parent
425440de3b
commit
7b08e5a05c
@ -12,6 +12,10 @@ if ARGV.empty?
|
|||||||
onoe 'This command requires at least one argument containing a URL or pull request number'
|
onoe 'This command requires at least one argument containing a URL or pull request number'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if ARGV[0] == '--rebase'
|
||||||
|
onoe 'You meant `git pull --rebase`.'
|
||||||
|
end
|
||||||
|
|
||||||
ARGV.named.each do|arg|
|
ARGV.named.each do|arg|
|
||||||
if arg.to_i > 0
|
if arg.to_i > 0
|
||||||
url = 'https://github.com/mxcl/homebrew/pull/' + arg
|
url = 'https://github.com/mxcl/homebrew/pull/' + arg
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user