Added config option "titles_as_cw"
the build was successful Details

This commit is contained in:
tastytea 2018-08-24 17:54:46 +02:00
parent 7e459c259b
commit 473442f612
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 15 additions and 0 deletions

View File

@ -133,6 +133,21 @@ std::uint16_t read_config(string &instance, string &access_token, string &feedur
}
config_changed = true;
}
if (config[profile]["titles_as_cw"].isNull())
{
string titles_as_cw;
cout << "Use titles as CW? [y/n]: ";
cin >> titles_as_cw;
if (titles_as_cw[0] == 'y')
{
config[profile]["titles_as_cw"] = true;
}
else
{
config[profile]["titles_as_cw"] = false;
}
config_changed = true;
}
if (config[profile]["append"].isNull())
{
string append;