exe/cloudtasker in cloudtasker-0.13.2 vs exe/cloudtasker in cloudtasker-0.14.rc1
- old
+ new
@@ -7,11 +7,14 @@
options = {}
OptionParser.new do |opts|
opts.banner = 'Usage: cloudtasker [options]'
- opts.on('-q QUEUE', '--queue=QUEUE', 'Queue to process and number of threads. ' \
- "Examples: '-q critical' | '-q critical,2' | '-q critical,3 -q defaults,2'") do |o|
+ opts.on(
+ '-q QUEUE', '--queue=QUEUE',
+ 'Queue to process and number of threads. ' \
+ "Examples: '-q critical' | '-q critical,2' | '-q critical,3 -q defaults,2'"
+ ) do |o|
options[:queues] ||= []
options[:queues] << o.split(',')
end
end.parse!