diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 13:28:47 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:34:52 -0500 |
commit | 677d85c7f3df3563e990f41964f6ae7d560567a0 (patch) | |
tree | 9b5113cb7c2b2cc7ae8a07ab5a21e5a55d579559 /doc | |
parent | 15485f61df8cbd922907db39fcc864abb002eea3 (diff) | |
download | serd-677d85c7f3df3563e990f41964f6ae7d560567a0.tar.gz serd-677d85c7f3df3563e990f41964f6ae7d560567a0.tar.bz2 serd-677d85c7f3df3563e990f41964f6ae7d560567a0.zip |
Add model
Diffstat (limited to 'doc')
-rw-r--r-- | doc/serdi.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/serdi.1 b/doc/serdi.1 index b89bfba7..ce0b1ed4 100644 --- a/doc/serdi.1 +++ b/doc/serdi.1 @@ -64,7 +64,11 @@ This is useful when reading from a pipe since output will be generated immediate With this option serdi uses one page less memory, but will likely be significantly slower. .Pp .It Fl f -Keep full URIs in input (don't qualify with namespace prefixes or make URIs relative). +Fast and loose mode. +This disables shortening URIs into prefixed names or relative URI references. +If the model is enabled, then this writes the model quickly in sorted order. +Note that doing so with TriG or Turtle may make the output ugly, +since blank nodes will not be inlined. .Pp .It Fl h Print the command line options. @@ -92,6 +96,12 @@ Lax (non-strict) parsing. If this is enabled, recoverable syntax errors will print a warning, but parsing will proceed starting at the next statement if possible. Note that data may be lost when using this option. .Pp +.It Fl m +Build a model in memory. +This loads all of the input into memory before writing the output. +This will reorder statements and eliminate duplicates, at the cost of performance and memory consumption. +When writing TriG or Turtle, this may enable better pretty-printing with more inline descriptions. +.Pp .It Fl o Ar syntax Write output as .Ar syntax . |