From 0094dfffead41a6c3e84f9aad70911ffcb587fbd 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 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/serdi.1') diff --git a/doc/serdi.1 b/doc/serdi.1 index dba9b34c..c5d409bc 100644 --- a/doc/serdi.1 +++ b/doc/serdi.1 @@ -7,6 +7,7 @@ .Sh SYNOPSIS .Nm serdi .Op Fl abefhlqv +.Op Fl I Ar base .Op Fl c Ar prefix .Op Fl i Ar syntax .Op Fl k Ar bytes @@ -34,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