working on cmdlineoptions in C