X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4b258b0acb4f4f43d99a3eba7fd38ba40460b96d..bd600acbc48f84223481d030b89144558bc7ea04:/options.cpp?ds=sidebyside diff --git a/options.cpp b/options.cpp index 54fd53d..668aed3 100644 --- a/options.cpp +++ b/options.cpp @@ -61,7 +61,7 @@ namespace opt { NOL_INSERT("ring", "ring topology", deployment_ring); NOL_INSERT("star", "star topology, initial load at center", deployment_star); - // NOL_INSERT("torus", "torus topology", deployment_torus); + NOL_INSERT("torus", "torus topology", deployment_torus); } } // namespace opt @@ -204,7 +204,7 @@ void opt::usage() std::clog << "\nGlobal options\n"; std::clog << o("-h") - << "print help and exit (use -hh for extended help)\n"; + << "print help and exit (use -hh or -hhh for extended help)\n"; if (opt::help_requested < 1) return; @@ -248,6 +248,20 @@ void opt::usage() << "maximum number of iterations, 0 for infinity" << " (" << opt::maxiter << ")\n"; + if (opt::help_requested < 3) + return; + + std::clog << "\nLogging support\n" + << " See SimGrid documentation on:\n" + << " http://simgrid.gforge.inria.fr/doc/group__XBT__log.html#log_user\n" + << " Existing categories are:\n" + << " simu : root of following categories\n" + << " main : messages from global infrastructure\n" + << " depl : messages from auto deployment (inherited from main)\n" + << " comm : messages from asynchronous pipes\n" + << " proc : messages from base process class\n" + << " loba : messages from load-balancer\n"; + #undef so_list #undef so #undef o