[sheepdog] [PATCH v2] collie: correct command-line options parser

Liu Yuan namei.unix at gmail.com
Mon Mar 18 08:02:56 CET 2013


On 03/18/2013 02:55 PM, ChenZhe wrote:
> "collie cluster recover disable -p7001" not work.
> getopt_long() will permutes the elements of ARGV.
> so,the subcmd who needs third arg shoud take argv[optind] instead of
> argv[3].

Applied, thanks.

Yuan



More information about the sheepdog mailing list