From 734b95e89872c09d58c54c60111a50ef39ba9168 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 6 Feb 2014 12:00:01 +0100 Subject: [PATCH] Fix help message. Error was introduced by commit a957a7eb7a096470feb367832c201b71b58ea51e. --- src/simgrid/sg_config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/simgrid/sg_config.c b/src/simgrid/sg_config.c index ea06b592e3..a1d4460ad6 100644 --- a/src/simgrid/sg_config.c +++ b/src/simgrid/sg_config.c @@ -484,6 +484,9 @@ void sg_config_init(int *argc, char **argv) xbt_cfgelm_string, 1, 1, &_sg_cfg_cb__cpu_model, NULL); xbt_cfg_setdefault_string(_sg_cfg_set, "cpu/model", "Cas01"); + sprintf(description, + "The optimization modes to use for the CPU. Possible values: "); + p = description; while (*(++p) != '\0'); for (i = 0; surf_optimization_mode_description[i].name; i++) p += sprintf(p, "%s%s", (i == 0 ? "" : ", "), -- 2.20.1