Skip to content

Commit 01eb853

Browse files
committed
Fixes warning about shadowing
1 parent 9a50341 commit 01eb853

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/csscss/cli.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def execute
6464
end
6565

6666
def parse(argv)
67-
opts = OptionParser.new do |opts|
67+
options = OptionParser.new do |opts|
6868
opts.banner = "Usage: csscss [files..]"
6969
opts.version = Csscss::VERSION
7070

@@ -128,11 +128,11 @@ def parse(argv)
128128
print_help(opts)
129129
end
130130
end
131-
opts.parse!(argv)
131+
options.parse!(argv)
132132

133-
print_help(opts) if argv.empty?
133+
print_help(options) if argv.empty?
134134
rescue OptionParser::ParseError
135-
print_help(opts)
135+
print_help(options)
136136
end
137137

138138
def print_help(opts)

0 commit comments

Comments
 (0)