allow text hostnames for -c cmdline arg

Change-Id: Ibc57c1309058692ee6eb9e8539d8fcf8ed4ab292