add version option to port command.