diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/serd-pipe.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/serd-pipe.c b/tools/serd-pipe.c index 4fed5a1f..d837f6f3 100644 --- a/tools/serd-pipe.c +++ b/tools/serd-pipe.c @@ -190,6 +190,13 @@ main(const int argc, char* const* const argv) } } + // Enable direct CURIE transmission for lax streams where supported + if ((opts.common.input.flags & SERD_READ_LAX) && + opts.common.output.syntax != SERD_NTRIPLES && + opts.common.output.syntax != SERD_NQUADS) { + opts.common.input.flags |= SERD_READ_CURIES; + } + // Every argument past the last option is an input opts.inputs = argv + iter.a; opts.n_inputs = argc - iter.a; |