mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
xmllint: Make --nocatalogs actually work
This commit is contained in:
@@ -2915,6 +2915,7 @@ xmllintParseOptions(xmllintState *lint, int argc, const char **argv) {
|
||||
} else if ((!strcmp(argv[i], "-nocatalogs")) ||
|
||||
(!strcmp(argv[i], "--nocatalogs"))) {
|
||||
lint->nocatalogs = 1;
|
||||
lint->options |= XML_PARSE_NO_SYS_CATALOG;
|
||||
#endif
|
||||
} else if ((!strcmp(argv[i], "-noblanks")) ||
|
||||
(!strcmp(argv[i], "--noblanks"))) {
|
||||
|
||||
Reference in New Issue
Block a user