Enable xml output if user gives --xml-file, even without --xml

This commit is contained in:
Gautier Pelloux-Prayer 2015-01-29 10:47:52 +01:00
parent 1bb0df3444
commit 78cd8521a2
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 96dbc6ca203be90381ea4c30a814b8d6aabaad60
Subproject commit a7f233d15940315f9d1362e2aea1a5bc2220268d

View file

@ -214,6 +214,7 @@ int main (int argc, char *argv[])
} else if (strcmp(argv[i], "--xml-file") == 0){
CHECK_ARG("--xml-file", ++i, argc);
xml_file = argv[i];
xml = 1;
} else if (strcmp(argv[i], "--xml") == 0){
xml = 1;
} else if (strcmp(argv[i],"--log-file")==0){