how about `@cmd_options[:preserve_hosts] = mode || 'always'`