The command-line routines now take a pointer to `cfg' as an