Flip order of command line ref, and config ref.