diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-20 14:00:31 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-20 14:00:31 +0000 |
commit | 49aba5412a2c14903ae4427b40ed37904e08912f (patch) | |
tree | dd00b06dc5ab9a539d9ab07c6ed92bf1bdd2029e /bin/custodian-enqueue | |
parent | 71bf5129d357009d7a6f17d8f3e9583a9bfc61fc (diff) |
Updated case statements for ruby1.9
Diffstat (limited to 'bin/custodian-enqueue')
-rwxr-xr-x | bin/custodian-enqueue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue index d6f041e..23df794 100755 --- a/bin/custodian-enqueue +++ b/bin/custodian-enqueue @@ -75,17 +75,17 @@ if __FILE__ == $0 then ) opts.each do |opt, arg| case opt - when "--dump": + when "--dump" then ENV["DUMP"] = "1" - when "--test": + when "--test" then ENV["TEST"] = "1" - when "--file": + when "--file" then ENV["FILE"] = arg - when "--timeout": + when "--timeout" then ENV["TIMEOUT"] = arg - when "--help": + when "--help" then $help = true - when "--manual": + when "--manual" then $manual = true end end |