From 652371c2f3700e0ec9927fd93e80fa21338a7b29 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 15 Apr 2021 19:57:54 -0400 Subject: Add examples to man page --- doc/serdi.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') 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 -- cgit v1.2.1