diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/custodian-dequeue | 10 | ||||
-rwxr-xr-x | bin/custodian-enqueue | 10 | ||||
-rwxr-xr-x | bin/custodian-queue | 10 | ||||
-rwxr-xr-x | bin/multi-ping | 4 |
4 files changed, 17 insertions, 17 deletions
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| |