From: Arnaud Giersch Date: Tue, 1 Oct 2013 13:26:54 +0000 (+0200) Subject: Improve help message about available context factories. X-Git-Tag: v3_9_90~56^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2dbb1ca19c9fa230a112b11f7ae5d609d23d3501 Improve help message about available context factories. --- diff --git a/src/simgrid/sg_config.c b/src/simgrid/sg_config.c index 994bc19ee3..4ad10517f9 100644 --- a/src/simgrid/sg_config.c +++ b/src/simgrid/sg_config.c @@ -602,7 +602,15 @@ void sg_config_init(int *argc, char **argv) /* context factory */ xbt_cfg_register(&_sg_cfg_set, "contexts/factory", - "Context factory to use in SIMIX (default, ucontext, thread or raw)", + "Context factory to use in SIMIX. Possible values: " + "default" +#if HAVE_RAWCTX + ", raw" +#endif +#if CONTEXT_UCONTEXT + ", ucontext" +#endif + ", thread.", xbt_cfgelm_string, 1, 1, _sg_cfg_cb_context_factory, NULL); xbt_cfg_setdefault_string(_sg_cfg_set, "contexts/factory", "default");