diff options
author | David Robillard <d@drobilla.net> | 2021-01-13 20:00:25 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 456bdeef35ffbfbdad7609e8b8a4ef71372786fd (patch) | |
tree | 25fabaa4f361f66a2bac860f06722e7f51776cbc /doc/man | |
parent | fc2114a10769349d38b3215bc95ded855a2be5b6 (diff) | |
download | serd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.tar.gz serd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.tar.bz2 serd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.zip |
[WIP] Add extensible logging API
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/serd-pipe.1 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/man/serd-pipe.1 b/doc/man/serd-pipe.1 index f5908c1d..ae3e6620 100644 --- a/doc/man/serd-pipe.1 +++ b/doc/man/serd-pipe.1 @@ -165,6 +165,18 @@ Variables can be written in SPARQL style, for example or .Dq $var . .El +.Sh ENVIRONMENT +Errors and warnings are printed in color by default if the output is a terminal. +This can be overridden with environment variables: +.Pp +.Bl -tag -compact -width 14n +.It Ev NO_COLOR +If present (regardless of value), color is disabled. +.It Ev CLICOLOR +If set to 0, color is disabled. +.It Ev CLICOLOR_FORCE +If set to anything other than 0, color is forced on. +.El .Sh EXIT STATUS .Nm exits with a status of 0, or non-zero if an error occurred. @@ -218,6 +230,20 @@ exits with a status of 0, or non-zero if an error occurred. .%T RDF 1.1 Turtle .Re .Lk https://www.w3.org/TR/turtle/ +.It +.Rs +.%A Jan Niklas Hasse +.%T CLICOLOR +.%D April 2015 +.Re +.Lk https://bixense.com/clicolors/ +.It +.Rs +.%A Joshua Stein +.%T NO_COLOR +.%D August 2017 +.Re +.Lk http://no-color.org/ .El .Sh AUTHORS .Nm |