Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename variable to avoid shadowing

  • Loading branch information...
commit 60d0826f3febd0aa56f12df1d78554afa7a9b134 1 parent b3e88ac
@purcell authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 darcs-to-git
View
6 darcs-to-git
@@ -54,7 +54,7 @@ OPTIONS = { :default_author => 'none',
:do_checks => true,
:clean_commit_messages => false,
:num_patches => nil }
-opts = OptionParser.new do |opts|
+options = OptionParser.new do |opts|
opts.banner = <<-end_usage
Creates git repositories from darcs repositories
@@ -137,11 +137,11 @@ EOF
exit
end
end
-opts.parse!
+options.parse!
SRCREPO = ARGV[0]
if SRCREPO.nil?
- abort opts.to_s
+ abort options.to_s
end

0 comments on commit 60d0826

Please sign in to comment.
Something went wrong with that request. Please try again.