diff options
author | 2020-08-03 16:10:32 +0200 | |
---|---|---|
committer | 2020-08-04 10:18:38 +0200 | |
commit | fde721b7c79833f453f978c937ae276f88a8ab80 (patch) | |
tree | bd1df0d7a358fbdcc58cb5de1984c4519ed39a2e /src/pbcontroller.cpp | |
parent | 259afa5353de2d799829ff85dde7194a6e119ddc (diff) | |
download | newsboat-fde721b7c79833f453f978c937ae276f88a8ab80.tar.gz newsboat-fde721b7c79833f453f978c937ae276f88a8ab80.tar.zst newsboat-fde721b7c79833f453f978c937ae276f88a8ab80.zip |
Rename ConfigParser::parse() -> parse_file()
Diffstat (limited to 'src/pbcontroller.cpp')
-rw-r--r-- | src/pbcontroller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pbcontroller.cpp b/src/pbcontroller.cpp index 75e5009a..5890b9a1 100644 --- a/src/pbcontroller.cpp +++ b/src/pbcontroller.cpp @@ -279,8 +279,8 @@ int PbController::initialize(int argc, char* argv[]) cfgparser.register_handler("reset-unread-on-update", null_cah); try { - cfgparser.parse("/etc/newsboat/config"); - cfgparser.parse(config_file); + cfgparser.parse_file("/etc/newsboat/config"); + cfgparser.parse_file(config_file); } catch (const ConfigException& ex) { std::cout << ex.what() << std::endl; return EXIT_FAILURE; |