diff options
| author | 2019-05-19 15:20:59 -0400 | |
|---|---|---|
| committer | 2019-05-19 15:20:59 -0400 | |
| commit | 97ad4c4f89705c59a9e41fba6be140e8a6307fd4 (patch) | |
| tree | 5b0fa49afb60dac7cad6b88707495a82ebe2e3e4 /janet.1 | |
| parent | Merge 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.1 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
