minor: making cmd_opts dup and merge clearer