settings: notify about unknown options in configuration file
This commit is contained in:
@@ -1362,6 +1362,8 @@ void NcmpcppConfig::Read()
|
|||||||
if (!v.empty())
|
if (!v.empty())
|
||||||
media_lib_primary_tag = IntoTagItem(v[0]);
|
media_lib_primary_tag = IntoTagItem(v[0]);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
std::cout << "Unknown option: " << name << ", ignoring.\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
f.close();
|
f.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user