refactor cpp command settings mangling