X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07c319ec54d6fc778ee3cc5e75a747242006723e..b23f76c819d776be7e164c27102a3dd969ca2880:/src/surf/surf_config.c diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index 04c3f5268a..0520467478 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -38,6 +38,10 @@ static void surf_config_cmd_line(int *argc, char **argv) xbt_cfg_help(_surf_cfg_set); printf ("\nYou can also use --help-models to see the details of all models known by this simulator.\n"); +#ifdef HAVE_TRACING + printf + ("\nYou can also use --help-tracing to see the details of all tracing options known by this simulator.\n"); +#endif exit(0); } else if (!strncmp @@ -46,6 +50,13 @@ static void surf_config_cmd_line(int *argc, char **argv) model_help("CPU", surf_cpu_model_description); model_help("network", surf_network_model_description); exit(0); +#ifdef HAVE_TRACING + }else + if (!strncmp + (argv[i], "--help-tracing", strlen("--help-tracing") + 1)) { + TRACE_help (1); + exit(0); +#endif } if (remove_it) { /*remove this from argv */ for (j = i + 1; j < *argc; j++) {