From d2f8a091b0b6c32207624e3cc5af81ffbca4aba6 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:23:46 +0000 Subject: Remove spaces inside blocks. --- bin/custodian-dequeue | 10 +++++----- bin/custodian-enqueue | 10 +++++----- bin/custodian-queue | 10 +++++----- bin/multi-ping | 4 ++-- 4 files changed, 17 insertions(+), 17 deletions(-) (limited to 'bin') diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue index 3d0c851..d49049e 100755 --- a/bin/custodian-dequeue +++ b/bin/custodian-dequeue @@ -69,11 +69,11 @@ if __FILE__ == $PROGRAM_NAME then begin opts = GetoptLong.new( - [ '--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 ] + ['--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 diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue index 75cb863..e8f71f0 100755 --- a/bin/custodian-enqueue +++ b/bin/custodian-enqueue @@ -70,11 +70,11 @@ if __FILE__ == $PROGRAM_NAME then begin opts = GetoptLong.new( - [ '--dump', '-d', GetoptLong::NO_ARGUMENT ], - [ '--test', GetoptLong::NO_ARGUMENT ], - [ '--file', '-f', GetoptLong::REQUIRED_ARGUMENT ], - [ '--help', '-h', GetoptLong::NO_ARGUMENT ], - [ '--manual', '-m', GetoptLong::NO_ARGUMENT ] + ['--dump', '-d', GetoptLong::NO_ARGUMENT], + ['--test', GetoptLong::NO_ARGUMENT], + ['--file', '-f', GetoptLong::REQUIRED_ARGUMENT], + ['--help', '-h', GetoptLong::NO_ARGUMENT], + ['--manual', '-m', GetoptLong::NO_ARGUMENT] ) opts.each do |opt, arg| case opt diff --git a/bin/custodian-queue b/bin/custodian-queue index e793657..dcb4b9a 100755 --- a/bin/custodian-queue +++ b/bin/custodian-queue @@ -63,11 +63,11 @@ if __FILE__ == $PROGRAM_NAME then begin opts = GetoptLong.new( - [ '--flush', '-f', GetoptLong::NO_ARGUMENT ], - [ '--help', '-h', GetoptLong::NO_ARGUMENT ], - [ '--manual', '-m', GetoptLong::NO_ARGUMENT ], - [ '--monitor', '-M', GetoptLong::OPTIONAL_ARGUMENT ], - [ '--stats', '-s', GetoptLong::NO_ARGUMENT ] + ['--flush', '-f', GetoptLong::NO_ARGUMENT], + ['--help', '-h', GetoptLong::NO_ARGUMENT], + ['--manual', '-m', GetoptLong::NO_ARGUMENT], + ['--monitor', '-M', GetoptLong::OPTIONAL_ARGUMENT], + ['--stats', '-s', GetoptLong::NO_ARGUMENT] ) opts.each do |opt, arg| case opt diff --git a/bin/multi-ping b/bin/multi-ping index fd4607c..32fb4ce 100755 --- a/bin/multi-ping +++ b/bin/multi-ping @@ -44,8 +44,8 @@ $help = false $manual = false opts = GetoptLong.new( - [ '--help', '-h', GetoptLong::NO_ARGUMENT ], - [ '--manual', '-m', GetoptLong::NO_ARGUMENT ]) + ['--help', '-h', GetoptLong::NO_ARGUMENT], + ['--manual', '-m', GetoptLong::NO_ARGUMENT]) begin opts.each do |opt, arg| -- cgit v1.2.1