update docs and make unix flag work more like the tcp flag