command line parser for C