parseargs
parseargs(int argc, const char **argv, struct commandline *cmd)
parseargs(int argc, char *argv[])