Add a command line option to specify target port.