[c] Parsing command-line arguments in C