On Thu, Nov 12, 2020 at 11:04:36AM +0800, Li Yuanchao wrote:
On Thu, Nov 12, 2020 at 10:53:17AM +0800, Xiao Shenwei wrote:
Usage: multi-docker -n -c -q -n, --name HOSTNAME_PREFIX format: $tbox_group.$HOSTNAME -c, --count count how many container do you need
container => containers
- opts.on('-c count', '--count count', 'how much container do you need') do |num|
- opts.on('-c count', '--count count', 'how many container do you need') do |num|
^ add 's' here
You change "much" to "many", obviously you know their difference, so don't forget add 's' to container :)
got it
Thanks, Shenwei
Thanks, Yuanchao
opt['nr_container'] = num
end