From d696de49c85544be76b9ca132c86f640b5e44bc1 Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Wed, 12 Jun 2024 13:40:31 +0200 Subject: Add options to toggle colors, prepare for allowing multiple lines --- tg.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tg.1') diff --git a/tg.1 b/tg.1 index b46afd6..7e983b4 100644 --- a/tg.1 +++ b/tg.1 @@ -48,6 +48,12 @@ Specify a height for the output. If not specified, it will attempt to determine the TTY height and use that. If it cannot be automatically determined, it will fail. +.IP "\fB--color\fR \fIyes\fR|\fIno\fR" +Enable or disable colors, by default color will be enabled if it looks like a tty is connected. + +It can therefore be nice to use \fB--color yes\fR +if you are piping the output into another program that supports colors. + .SH EXAMPLES The simplest version is if you have a text file of values -- cgit v1.2.3