Merge pull request #1 from zhuowei/master

Added ability to patch PTPatches into a file from the command line; added more help messages
Added deprecation notice of defaultip.