From 959a0db69fa0a61b8a131ee49f9a553f0e01f3e1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 27 Mar 2023 19:14:40 -0400 Subject: Add base URI command-line option --- doc/man/serd-pipe.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/man/serd-pipe.1 b/doc/man/serd-pipe.1 index 32482c73..d335450f 100644 --- a/doc/man/serd-pipe.1 +++ b/doc/man/serd-pipe.1 @@ -9,6 +9,7 @@ .Sh SYNOPSIS .Nm serd-pipe .Op Fl abefhlqtv +.Op Fl B Ar base .Op Fl c Ar prefix .Op Fl i Ar syntax .Op Fl k Ar bytes @@ -17,7 +18,6 @@ .Op Fl r Ar root .Op Fl s Ar string .Ar input -.Op Ar base_uri .Sh DESCRIPTION .Nm is a fast command-line utility for streaming and processing RDF data. @@ -35,6 +35,13 @@ or transform URIs and blank node IDs. .Pp The options are as follows: .Bl -tag -width 3n +.It Fl B 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. .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