]> AND Private Git Repository - loba.git/blobdiff - options.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Cosmetics: improve help message.
[loba.git] / options.cpp
index 2db9aeba5b71285803460e83ff1e053903fa4ec7..9b427bc26119987689c7579349cdd76e6caf87cd 100644 (file)
@@ -569,6 +569,9 @@ void opt::usage()
     std::clog << o("-% value")
               << "percent of the load average to assume the convergence"
               << " [" << opt::avg_load_ratio << "]\n";
     std::clog << o("-% value")
               << "percent of the load average to assume the convergence"
               << " [" << opt::avg_load_ratio << "]\n";
+    if (opt::help_requested > 1)
+        std::clog << o("")
+                  << "- if negative: use 100 * (nhosts / -value) / avg_load\n";
     std::clog << o("-G") << "toggle exit on detection of convergence"
               << " [" << opt_helper::on_off(opt::exit_on_convergence) << "]\n";
     std::clog << o("-t value")
     std::clog << o("-G") << "toggle exit on detection of convergence"
               << " [" << opt_helper::on_off(opt::exit_on_convergence) << "]\n";
     std::clog << o("-t value")