On Wed, Jun 24, 2009 at 15:56:25 +0800, Xiang, Haihao wrote: > + case 'g': > + if (strcmp(optarg, "-") != 0) > + gen_level = strtol(optarg, NULL, 0); > + this strcmp doesn't make sense.. Cheers, Julien