Add type value of browser_sort_mode (set by default)

This commit is contained in:
Andrzej Rybczak
2020-12-19 16:33:02 +01:00
parent 3c7ce95aaa
commit d724e06262
9 changed files with 30 additions and 15 deletions

View File

@@ -387,7 +387,7 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
"{%a - }{%t}|{%f}", [](std::string v) {
return Format::parse(v, Format::Flags::Tag);
});
p.add("browser_sort_mode", &browser_sort_mode, "name", [](std::string v) {
p.add("browser_sort_mode", &browser_sort_mode, "type", [](std::string v) {
if (v == "noop")
{
deprecated("browser_sort_mode = 'noop'",