Parsing command line flags into a setting struct