Skip to content
Snippets Groups Projects
Commit db4ea3cd authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

"-parse_and_exit" as synomym for "-"

parent dc051c28
No related branches found
No related tags found
No related merge requests found
......@@ -285,7 +285,8 @@ void GetOptions(int argc, char *argv[])
if(argv[i][0] == '-') {
if(!strcmp(argv[i] + 1, "")) {
if(!strcmp(argv[i] + 1, "") ||
!strcmp(argv[i] + 1, "parse_and_exit")) {
CTX::instance()->batch = -99;
i++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment