bash completion for domain host and server
options refactor