Exit with failure if the base arguments are specified multiple times, fix typo in parsing optimization arguments