summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Bühlmann <tobias.buehlmann@gmx.de>2013-05-02 13:56:20 +0200
committerTobias Bühlmann <tobias.buehlmann@gmx.de>2013-05-02 13:56:20 +0200
commitc669957598b03596a2180c777e1b77bf8c2754b0 (patch)
tree9e9702c1200c0a9c818c8d501854a314896abbbe
parent8b9fac21e0a21d8136916c83b45b2659da9514e3 (diff)
downloadbacon-c669957598b03596a2180c777e1b77bf8c2754b0.tar.gz
bacon-c669957598b03596a2180c777e1b77bf8c2754b0.tar.xz
bacon-c669957598b03596a2180c777e1b77bf8c2754b0.zip
Removed Ruby warning by not shadowing opt variable anymore.
-rwxr-xr-xbin/bacon4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bacon b/bin/bacon
index 4baca67..bff060a 100755
--- a/bin/bacon
+++ b/bin/bacon
@@ -8,7 +8,7 @@ module Bacon; end
 automatic = false
 output = 'SpecDoxOutput'
 
-opts = OptionParser.new("", 24, '  ') { |opts|
+options = OptionParser.new("", 24, '  ') { |opts|
   opts.banner = "Usage: bacon [options] [files | -a] [-- untouched arguments]"
 
   opts.separator ""
@@ -103,7 +103,7 @@ if automatic
 end
 
 if files.empty?
-  puts opts.banner
+  puts options.banner
   exit 1
 end