Added -c to getcfg