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