aboutsummaryrefslogtreecommitdiffhomepage
path: root/janet.1
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-05-19 15:20:59 -0400
committerCalvin Rose <calsrose@gmail.com>2019-05-19 15:20:59 -0400
commit97ad4c4f89705c59a9e41fba6be140e8a6307fd4 (patch)
tree5b0fa49afb60dac7cad6b88707495a82ebe2e3e4 /janet.1
parentMerge pull request #107 from ALSchwalm/compile-only (diff)
Update manpage and make -k mode not exit on error.
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 2bf5ef1c..eb03a104 100644
--- a/janet.1
+++ b/janet.1
@@ -3,7 +3,7 @@
janet \- run the Janet language abstract machine
.SH SYNOPSIS
.B janet
-[\fB\-hvsrpnq\fR]
+[\fB\-hvsrpnqk\fR]
[\fB\-e\fR \fISOURCE\fR]
[\fB\-l\fR \fIMODULE\fR]
[\fB\-m\fR \fIPATH\fR]
@@ -68,6 +68,10 @@ after an error. Persistent mode can be good for debugging and testing.
Quiet output. Don't print a repl prompt or expression results to stdout.
.TP
+.BR \-k
+Don't execute a script, only compile it to check for errors. Useful for linting scripts.
+
+.TP
.BR \-m\ syspath
Set the variable module/*syspath* to the string syspath so that Janet will load system modules
from a directory different than the default. The default is set when Janet is built, and defaults to