aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-15 19:57:54 -0400
committerDavid Robillard <d@drobilla.net>2021-05-16 13:01:28 -0400
commit652371c2f3700e0ec9927fd93e80fa21338a7b29 (patch)
treed45be8f2218ee8ba810b24f04a9f46f35e7b7e62 /doc
parent8890ecb2a6e82b3e1e09df65f86af4012c930b2b (diff)
downloadserd-652371c2f3700e0ec9927fd93e80fa21338a7b29.tar.gz
serd-652371c2f3700e0ec9927fd93e80fa21338a7b29.tar.bz2
serd-652371c2f3700e0ec9927fd93e80fa21338a7b29.zip
Add examples to man page
Diffstat (limited to 'doc')
-rw-r--r--doc/serdi.18
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/serdi.1 b/doc/serdi.1
index 80af6f50..0684a6e0 100644
--- a/doc/serdi.1
+++ b/doc/serdi.1
@@ -111,6 +111,14 @@ Display version information and exit.
.Sh EXIT STATUS
.Nm
exits with a status of 0, or non-zero if an error occured.
+.Sh EXAMPLES
+To pretty-print a document:
+.Pp
+.Dl $ serdi -o turtle file.ttl > out.ttl
+.Pp
+To print any errors:
+.Pp
+.Dl $ serdi file.ttl > /dev/null
.Sh SEE ALSO
.Bl -item -compact
.It