ossp-pkg/rc/rc.c 1.39 -> 1.40
--- rc.c 2002/07/10 19:02:24 1.39
+++ rc.c 2002/07/29 16:34:58 1.40
@@ -39,10 +39,11 @@
{
ex_t Except;
- try { /* Configuration block */
+ try { /* Configuration block, config is built here */
configNew(); /* Construct a new config, add default values */
configLoad(argc, (const char **)argv); /* Load cli, env, and conf */
configVerify(); /* Test for usage, help and version options */
+ configDefaults(); /* Add default values to empty config members */
}
catch(Except) /* Exceptions of the configuration block */
rcError(Except);
|
|