diff options
| author | 2021-05-31 16:51:14 -0500 | |
|---|---|---|
| committer | 2021-05-31 16:51:53 -0500 | |
| commit | 2eadb21eb771449a2f75d3180ec6fb8e3cfb9ab0 (patch) | |
| tree | 8ec7a0e0851b5e161718b64706137d27460b8f3f /janet.1 | |
| parent | Merge pull request #707 from pepe/fix-shadow (diff) | |
Update changelog.
Diffstat (limited to 'janet.1')
| -rw-r--r-- | janet.1 | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -8,6 +8,8 @@ janet \- run the Janet language abstract machine [\fB\-l\fR \fIMODULE\fR] [\fB\-m\fR \fIPATH\fR] [\fB\-c\fR \fIMODULE JIMAGE\fR] +[\fB\-w\fR \fILEVEL\fR] +[\fB\-x\fR \fILEVEL\fR] [\fB\-\-\fR] .BR script .BR args ... @@ -210,7 +212,18 @@ resulting image. Output should usually end with the .jimage extension. Import a Janet module before running a script or repl. Multiple files can be loaded in this manner, and exports from each file will be made available to the script or repl. - +.TP +.BR \-w\ level +Set the warning linting level for Janet. +This linting level should be one of :relaxed, :none, :strict, :normal, or a +Janet number. Any linting message that is of a greater lint level than this setting will be displayed as +a warning, but not stop compilation or execution. +.TP +.BR \-x\ level +Set the error linting level for Janet. +This linting level should be one of :relaxed, :none, :strict, :normal, or a +Janet number. Any linting message that is of a greater lint level will cause a compilation error +and stop compilation. .TP .BR \-\- Stop parsing command line arguments. All arguments after this one will be considered file names |
