diff options
author | David Robillard <d@drobilla.net> | 2019-05-03 20:18:43 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:06 -0500 |
commit | 0094dfffead41a6c3e84f9aad70911ffcb587fbd (patch) | |
tree | ec52758305a3dcbe385a166d63c276c67fed5c47 /doc | |
parent | f7b993d5aff1274e010d45304b12109f6de7e120 (diff) | |
download | serd-0094dfffead41a6c3e84f9aad70911ffcb587fbd.tar.gz serd-0094dfffead41a6c3e84f9aad70911ffcb587fbd.tar.bz2 serd-0094dfffead41a6c3e84f9aad70911ffcb587fbd.zip |
Add input base URI option
Diffstat (limited to 'doc')
-rw-r--r-- | doc/serdi.1 | 9 |
1 files changed, 9 insertions, 0 deletions
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. |