diff --git a/src/Rules.cpp b/src/Rules.cpp index ed4061ec..565e7365 100644 --- a/src/Rules.cpp +++ b/src/Rules.cpp @@ -33,6 +33,11 @@ #include #include +static std::map defaultSettings = +{ + {"confirmation", "yes"}, +}; + //////////////////////////////////////////////////////////////////////////////// // Nested files are supported, with the following construct: // import /absolute/path/to/file @@ -44,8 +49,7 @@ void Rules::load (const std::string& file, int nest /* = 1 */) // First time in, load the default values. if (nest == 1) { - // TODO This is where defaults would be set. - + _settings = defaultSettings; _original_file = File (file)._data; }