Parse command line args and isolate errors