Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow other libraries to react to the --help flag, too
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 18 Jul 2018 23:08:10 +0000 (01:08 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 18 Jul 2018 23:13:34 +0000 (01:13 +0200)
commitf934c17cc5f1cb03e8dda185651a800ad4caee1b
treec84b004ca17f8c42421af1289eba9f4006eab2db
parent77498c371dfdd83317abbe8cf435a76e48bb038b
Allow other libraries to react to the --help flag, too

When finding --help on the command line, simgrid usually stops right
after displaying its help message but some libraries using SimGrid
want to display their own help message before the end of the world.

Now, they can use the little sg_config_continue_after_help() function
to have SimGrid not stopping after dealing with the --help flag.

(fix #93)
ChangeLog
include/simgrid/engine.h
src/simgrid/sg_config.cpp