initConfigOptions

fnbool initConfigOptions(CFG)(ref CFG cfg, string cfgname)

initialize members of struct CFG from rt_config options

options will be read from the environment, the command line or embedded into the executable as configured (see rt.config)

fields of the struct are populated by parseOptions().