Change -N and -q option's order.

Solve option ordering problem.