X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/92d7eb81980a40dda0715b23e874a1537cf3adb8..ffc874c5572820b9e2533d6e7b01602bfd5909d2:/options.cpp diff --git a/options.cpp b/options.cpp index 54fd53d..1b12ce7 100644 --- a/options.cpp +++ b/options.cpp @@ -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