[sheepdog] [PATCH] collie: subcommand "cluster recover" refuse option

Liu Yuan namei.unix at gmail.com
Fri Mar 15 06:30:31 CET 2013


On 03/15/2013 10:46 AM, ChenZhe wrote:
> Subcommand "cluster recover" needs the third arg as subcommand, so it
> refuses the command with any option, because getopt will reorder
> non-options.
> 
> This patch takes optind with 4 while subcmd needs third arg.

What problem does this patch tries to solve? It would be nice you could
visualize the problem by 'collie command' example, like what command
doesn't work as expected and explain the expected behavior.

Thanks,
Yuan



More information about the sheepdog mailing list