tool/sync_default_gems.rb: Prevent infinite loop due to unknown options
This commit is contained in:
parent
71b17c4110
commit
f7dc4d5cda
@ -536,6 +536,9 @@ else
|
|||||||
when "-a"
|
when "-a"
|
||||||
auto = true
|
auto = true
|
||||||
ARGV.shift
|
ARGV.shift
|
||||||
|
else
|
||||||
|
$stderr.puts "Unknown command line option: #{ARGV[0]}"
|
||||||
|
exit 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
gem = ARGV.shift
|
gem = ARGV.shift
|
||||||
|
Loading…
x
Reference in New Issue
Block a user