aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-03-27 19:14:40 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit959a0db69fa0a61b8a131ee49f9a553f0e01f3e1 (patch)
treec57d91a0bee4ab8ae998ec355d612a583e8d6512 /doc
parent0e9169e24fcfc4599a62f85991f407f257fec520 (diff)
downloadserd-959a0db69fa0a61b8a131ee49f9a553f0e01f3e1.tar.gz
serd-959a0db69fa0a61b8a131ee49f9a553f0e01f3e1.tar.bz2
serd-959a0db69fa0a61b8a131ee49f9a553f0e01f3e1.zip
Add base URI command-line option
Diffstat (limited to 'doc')
-rw-r--r--doc/man/serd-pipe.19
1 files changed, 8 insertions, 1 deletions
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.