diff options
| author | Steve Kemp <steve@steve.org.uk> | 2016-04-22 21:23:32 +0300 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2016-04-22 21:23:32 +0300 | 
| commit | fdb5aa7bb41c9a11a2dfdcdb12f00f95f37e2072 (patch) | |
| tree | 107279e870e96c884490dbeab9be3bda93429155 /bin/custodian-dequeue | |
| parent | 95a1fa2355f2b6352f1929122815504f98f4b4de (diff) | |
Updated to fix rubocop warnings.
Diffstat (limited to 'bin/custodian-dequeue')
| -rwxr-xr-x | bin/custodian-dequeue | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue index 8896b14..b066e18 100755 --- a/bin/custodian-dequeue +++ b/bin/custodian-dequeue @@ -29,12 +29,12 @@ if __FILE__ == $PROGRAM_NAME    begin      opts = GetoptLong.new( -      ['--help',    '-h', GetoptLong::NO_ARGUMENT], -      ['--manual',  '-m', GetoptLong::NO_ARGUMENT], -      ['--fail',    '-f', GetoptLong::NO_ARGUMENT], -      ['--single',  '-s', GetoptLong::NO_ARGUMENT], +      ['--help', '-h', GetoptLong::NO_ARGUMENT], +      ['--manual', '-m', GetoptLong::NO_ARGUMENT], +      ['--fail', '-f', GetoptLong::NO_ARGUMENT], +      ['--single', '-s', GetoptLong::NO_ARGUMENT],        ['--verbose', '-v', GetoptLong::NO_ARGUMENT] -                          ) +    )      opts.each do |opt, _arg|        case opt        when '--verbose' then @@ -73,7 +73,7 @@ if __FILE__ == $PROGRAM_NAME    #    #  Single step?    # -  if  ENV['SINGLE'] +  if ENV['SINGLE']      worker.process_single_job      exit(0)    end @@ -81,7 +81,7 @@ if __FILE__ == $PROGRAM_NAME    #    #  Run until we see a failure?    # -  if  ENV['FAIL'] +  if ENV['FAIL']      worker.process_until_fail      exit(0)    end | 
