support patch option
Merge pull request #13 from tjmehta/master

support patch option