lib/redis_failover/cli.rb in redis_failover-0.5.2 vs lib/redis_failover/cli.rb in redis_failover-0.5.3
- old
+ new
@@ -18,11 +18,11 @@
options[:nodes] = nodes.split(',').map do |node|
Hash[[:host, :port].zip(node.strip.split(':'))]
end
end
- opts.on('-z', '--zkservers zookeeper servers',
- 'Comma-separated zookeeper host:port pairs (required)') do |servers|
+ opts.on('-z', '--zkservers ZooKeeper servers',
+ 'Comma-separated ZooKeeper host:port pairs (required)') do |servers|
options[:zkservers] = servers
end
opts.on('--znode-path path',
'Znode path override for storing redis server list (optional)') do |path|
\ No newline at end of file