diff options
author | David Robillard <d@drobilla.net> | 2019-05-03 20:18:43 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:05:20 -0500 |
commit | da82a1c9f9fc5a359d3af6641011c4ae68262866 (patch) | |
tree | eb77aecce5b8e8d1df9d0b1e28eec16f4465fcd3 /doc | |
parent | 4dc7f00c2a312937073c63960307910da739c27b (diff) | |
download | serd-da82a1c9f9fc5a359d3af6641011c4ae68262866.tar.gz serd-da82a1c9f9fc5a359d3af6641011c4ae68262866.tar.bz2 serd-da82a1c9f9fc5a359d3af6641011c4ae68262866.zip |
Add input base URI option
Diffstat (limited to 'doc')
-rw-r--r-- | doc/serdi.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/serdi.1 b/doc/serdi.1 index 7c665aff..61063184 100644 --- a/doc/serdi.1 +++ b/doc/serdi.1 @@ -7,6 +7,7 @@ .Sh SYNOPSIS .Nm serdi .Op Fl abefhlqtv +.Op Fl I Ar base .Op Fl c Ar prefix .Op Fl i Ar syntax .Op Fl k Ar bytes @@ -16,7 +17,6 @@ .Op Fl s Ar string .Op Fl w Ar filename .Ar input -.Op Ar base_uri .Sh DESCRIPTION .Nm is a fast command-line utility for streaming and processing RDF data. @@ -35,6 +35,14 @@ or transform URIs and blank node IDs. The options are as follows: .Pp .Bl -tag -compact -width 3n +.It Fl I Ar base +Input base URI. +Relative URI references in the input will be resolved against this. +When the input is a file, +the URI of the file is automatically used as the base URI. +This option can be used to override that, +or to provide a base URI for input from stdin or a string. +.Pp .It Fl a Write ASCII output. If this is enabled, all non-ASCII characters will be escaped, even if the output syntax allows them to be written in UTF-8. |