Implements --hostnames,--exclude-hostnames