fix argument handling

thanks @bcoe
use options instead of port