From 09bf03fd6e522d6e421fed85d010057f87486544 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 31 Mar 2023 14:20:03 -0400 Subject: Add empty syntax type for suppressing output --- doc/man/serdi.1 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'doc/man') diff --git a/doc/man/serdi.1 b/doc/man/serdi.1 index f03fe23d..7822832a 100644 --- a/doc/man/serdi.1 +++ b/doc/man/serdi.1 @@ -71,6 +71,7 @@ Case is ignored, valid values are: .Dq NQuads , .Dq NTriples , .Dq TriG , +and .Dq Turtle . .It Fl k Ar bytes Parser stack size. @@ -86,10 +87,16 @@ Note that data may be lost when using this option. Write output as .Ar syntax . Case is ignored, valid values are: +.Dq empty , .Dq NQuads , .Dq NTriples , .Dq TriG , +and .Dq Turtle . +The +.Cm empty +syntax suppresses the output, +so that only warnings and errors will be printed. .It Fl p Ar prefix Add .Ar prefix @@ -153,10 +160,10 @@ exits with a status of 0, or non-zero if an error occurred. .Pa file.ttl > .Pa out.ttl -.It Print any errors: -.Nm Pa file.ttl -> -.Pa /dev/null +.It Print only errors and discard the output: +.Nm Fl O +.Ar empty +.Pa input.ttl .El .Sh SEE ALSO .Bl -item -compact -- cgit v1.2.1