aboutsummaryrefslogtreecommitdiffhomepage
path: root/janet.1
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-03-24 15:00:22 -0400
committerCalvin Rose <calsrose@gmail.com>2019-03-24 15:00:22 -0400
commit082639319e9dc812bef6b9ce2f30b68cfdee1b1b (patch)
treeaf8846d49a4f89caf9dba56239ce66bcd3592659 /janet.1
parentAdd instructions for Scoop installation. (diff)
Add colors to repl and string/format.
This makes the repl look nicer using ANSI color codes, which are widely supported. The codes can also be turned off via the -m flag.
Diffstat (limited to 'janet.1')
-rw-r--r--janet.16
1 files changed, 5 insertions, 1 deletions
diff --git a/janet.1 b/janet.1
index f29dadab..2bf5ef1c 100644
--- a/janet.1
+++ b/janet.1
@@ -3,7 +3,7 @@
janet \- run the Janet language abstract machine
.SH SYNOPSIS
.B janet
-[\fB\-hvsrpq\fR]
+[\fB\-hvsrpnq\fR]
[\fB\-e\fR \fISOURCE\fR]
[\fB\-l\fR \fIMODULE\fR]
[\fB\-m\fR \fIPATH\fR]
@@ -49,6 +49,10 @@ Execute a string of Janet source. Source code is executed in the order it is enc
arguments are executed before later ones.
.TP
+.BR \-n
+Disable ANSI colors in the repl. Has no effect if no repl is run.
+
+.TP
.BR \-r
Open a REPL (Read Eval Print Loop) after executing all sources. By default, if Janet is called with no
arguments, a REPL is opened.