From: Martin Quinson Date: Sun, 25 Dec 2011 16:34:09 +0000 (+0100) Subject: also display the existing optimizations on --help-models X-Git-Tag: exp_20120216~233 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d089997c1a0aa38c286e6456c760026fd55bdc77 also display the existing optimizations on --help-models --- diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index 5656eb911d..733ff2b8df 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -44,7 +44,9 @@ static void surf_config_cmd_line(int *argc, char **argv) exit(0); } else if (!strncmp(argv[i], "--help-models", strlen("--help-models") + 1)) { model_help("workstation", surf_workstation_model_description); + printf("\n"); model_help("CPU", surf_cpu_model_description); + printf("\n"); model_help("network", surf_network_model_description); printf("\nLong description of all optimization levels accepted by the models of this simulator:\n"); for (i = 0; surf_optimization_mode_description[i].name; i++)