add patch option to cli