add command-line override of port setting