From da82a1c9f9fc5a359d3af6641011c4ae68262866 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 May 2019 20:18:43 +0200 Subject: Add input base URI option --- doc/serdi.1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.1