From ba3c4686787a5541110cf51bf374aa048efc91e2 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 20 Nov 2012 14:00:31 +0000 Subject: Updated case statements for ruby1.9 --- bin/custodian-dequeue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'bin/custodian-dequeue') diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue index dd5daa6..70ddeda 100755 --- a/bin/custodian-dequeue +++ b/bin/custodian-dequeue @@ -84,21 +84,21 @@ if __FILE__ == $0 then ) opts.each do |opt, arg| case opt - when "--verbose": + when "--verbose" then ENV["VERBOSE"] = "1" - when "--logfile": + when "--logfile" then $LOGFILE = arg - when "--repeat": + when "--repeat" then ENV["REPEAT"] = arg - when "--server": + when "--server" then $SERVER = arg - when "--single": + when "--single" then ENV["SINGLE"] = "1" - when "--fail": + when "--fail" then ENV["FAIL"] = "1" - when "--help": + when "--help" then $help = true - when "--manual": + when "--manual" then $manual = true end end -- cgit v1.2.1