diff options
-rw-r--r-- | gentoobrowse-api/util/update.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gentoobrowse-api/util/update.cpp b/gentoobrowse-api/util/update.cpp index e04392d..dbb43ee 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; + bool background, tree, bugs, changeLog, sendNotifications; po::options_description opts("Gentoo Browse Util::Update options"); opts.add_options() ("endpoint", po::value(&endpoint)->default_value("tcp -p 9001"), "Service endpoint") @@ -16,6 +16,7 @@ main(int c, char ** v) ("bugs", po::value(&bugs)->default_value(true), "Update bugs") ("tree", po::value(&tree)->default_value(true), "Update tree") ("changeLog", po::value(&changeLog)->default_value(true), "Update change log") + ("notifications", po::value(&sendNotifications)->default_value(true), "Send notification emails") ("help,h", "Show help") ; @@ -51,6 +52,7 @@ main(int c, char ** v) std::cerr << ex.what() << std::endl; } }); + m->sendNotifications(); } jobs.clear(); |