cmdline: Cleanup cfg creation.