diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c index 7621b41e..ec4b0384 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -87,7 +87,7 @@ main(int argc, char** argv) SerdSyntax input_syntax = (SerdSyntax)0; SerdSyntax output_syntax = (SerdSyntax)0; - SerdWriterFlags writer_flags = 0u; + SerdWriterFlags writer_flags = SERD_WRITE_STRICT; bool from_string = false; bool from_stdin = false; bool bulk_read = true; @@ -116,6 +116,7 @@ main(int argc, char** argv) } else if (argv[a][1] == 'h') { return print_usage(argv[0], false); } else if (argv[a][1] == 'l') { + writer_flags &= ~(unsigned)SERD_WRITE_STRICT; lax = true; } else if (argv[a][1] == 'm') { use_model = true; |