diff options
Diffstat (limited to 'gentoobrowse-api/util/update.cpp')
-rw-r--r-- | gentoobrowse-api/util/update.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gentoobrowse-api/util/update.cpp b/gentoobrowse-api/util/update.cpp index 0bf2a1c..c54b882 100644 --- a/gentoobrowse-api/util/update.cpp +++ b/gentoobrowse-api/util/update.cpp @@ -8,7 +8,7 @@ int main(int c, char ** v) { std::string endpoint; - bool background, tree, bugs, changeLog, sendNotifications, pull, git; + bool background, tree, bugs, sendNotifications, pull, git; po::options_description opts("Gentoo Browse Util::Update options"); opts.add_options() ("endpoint", po::value(&endpoint)->default_value("tcp -p 9001"), "Service endpoint") @@ -17,7 +17,6 @@ main(int c, char ** v) ("tree", po::value(&tree)->default_value(true), "Update tree") ("pull", po::value(&pull)->default_value(true), "Perform a git pull on repositories") ("git", po::value(&git)->default_value(true), "Update tree using git") - ("changeLog", po::value(&changeLog)->default_value(true), "Update change log") ("notifications", po::value(&sendNotifications)->default_value(true), "Send notification emails") ("help,h", "Show help") ; @@ -39,7 +38,6 @@ main(int c, char ** v) if (pull) m->updateRepositories(); if (tree) jobs.insert(git ? m->begin_refreshPackageTreeGit() : m->begin_refreshPackageTree()); if (bugs) jobs.insert(m->begin_refreshBugs()); - if (changeLog) jobs.insert(m->begin_refreshChangeLogs()); std::for_each(jobs.begin(), jobs.end(), [](const auto & j) { j->waitForSent(); }); |