Re: [sheepdog] [PATCH V2 1/4] collie: add private options to collie's command

2012-08-23 Thread Yunkai Zhang
On Thu, Aug 23, 2012 at 3:47 PM, Liu Yuan namei.u...@gmail.com wrote: On 08/21/2012 10:09 PM, Yunkai Zhang wrote: collie/cluster.c | 24 ++-- collie/collie.c | 49 + collie/collie.h | 1 + collie/vdi.c | 56

Re: [sheepdog] [PATCH V2 1/4] collie: add private options to collie's command

2012-08-23 Thread Liu Yuan
On 08/21/2012 10:09 PM, Yunkai Zhang wrote: Now, all collie's command share the same global collie_options, it will lead to option's name conflict among commands if they use the same options but with different description. By moving the private options into individual structure of each

[sheepdog] [PATCH V2 1/4] collie: add private options to collie's command

2012-08-21 Thread Yunkai Zhang
From: Yunkai Zhang qiushu@taobao.com V2: - update commit log, make it more descriptive - use 'options' name in inner struct instread of 'self_options' --- 8 Now, all collie's command share the same global collie_options, it will