X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49ff77f9efbcb4dfeb0600186571fcf9a224f4f3..8cef00b18f68304c259dcae04a052d8414ad101e:/src/simgrid/sg_config.cpp diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 6358b596a1..1bf0f9f91c 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -41,15 +41,6 @@ void sg_config_continue_after_help() */ int _sg_cfg_init_status = 0; -/* instruct the upper layer (simix or simdag) to exit as soon as possible */ -bool _sg_cfg_exit_asap = false; - -#define sg_cfg_exit_early() \ - do { \ - _sg_cfg_exit_asap = true; \ - return; \ - } while (0) - /* Parse the command line, looking for options */ static void sg_config_cmd_line(int *argc, char **argv) { @@ -72,41 +63,39 @@ static void sg_config_cmd_line(int *argc, char **argv) sg_version(); shall_exit = true; } else if (parse_args && (not strcmp(argv[i], "--cfg-help") || not strcmp(argv[i], "--help"))) { - printf("Description of the configuration accepted by this simulator:\n"); + XBT_HELP("Description of the configuration accepted by this simulator:"); simgrid::config::help(); - printf( - "\n" - "Each of these configurations can be used by adding\n" - " --cfg=