getoption
camcontrol_optret getoption(char *, cam_cmdmask *, cam_argmask *,
optreturn = getoption(argv[1], &cmdlist, &arglist, &subopt);