parse command line args using getopts, allow option to skip checking dependencies