Rename section "rules" to "options"

This commit is contained in:
King_DuckZ 2020-09-04 15:06:17 +01:00
parent d1573c6218
commit f8fde74b84
2 changed files with 3 additions and 3 deletions

View file

@ -3,6 +3,6 @@ db_path=originsro.db3
worker_threads=3
backend=sqlite
[rules]
[options]
fetch_extra_delay=30
api_key=my_key_here

View file

@ -37,11 +37,11 @@ namespace {
constexpr const char g_backend_sect[] = "system";
constexpr const char g_backend[] = "backend";
constexpr const char g_fetch_extra_delay_sect[] = "rules";
constexpr const char g_fetch_extra_delay_sect[] = "options";
constexpr const char g_fetch_extra_delay[] = "fetch_extra_delay";
constexpr const char g_fetch_extra_delay_def[] = "30";
constexpr const char g_api_key_sect[] = "rules";
constexpr const char g_api_key_sect[] = "options";
constexpr const char g_api_key[] = "api_key";
constexpr const char g_api_key_def[] = "";