aboutsummaryrefslogtreecommitdiff
path: root/tg.1
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2024-06-12 13:40:31 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2024-06-12 13:40:31 +0200
commitd696de49c85544be76b9ca132c86f640b5e44bc1 (patch)
tree1eb9ab1b359c6b68b671fcecb516467df9741a9d /tg.1
parent861bb7ddfbf3056c75523908e05d7ac29787aaaa (diff)
downloadtextgraph-d696de49c85544be76b9ca132c86f640b5e44bc1.tar.gz
textgraph-d696de49c85544be76b9ca132c86f640b5e44bc1.zip
Add options to toggle colors, prepare for allowing multiple lines
Diffstat (limited to 'tg.1')
-rw-r--r--tg.16
1 files changed, 6 insertions, 0 deletions
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