From c669957598b03596a2180c777e1b77bf8c2754b0 Mon Sep 17 00:00:00 2001 From: Tobias Bühlmann Date: Thu, 2 May 2013 13:56:20 +0200 Subject: Removed Ruby warning by not shadowing opt variable anymore. --- bin/bacon | 4 ++-- 1 file 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 -- cgit 1.4.1