Update docs for -l option.

This commit is contained in:
Calvin Rose 2020-07-06 21:24:49 -05:00
parent f580d2e41a
commit b4f5e5bc00
2 changed files with 3 additions and 3 deletions

View File

@ -194,8 +194,8 @@ Source should be a path to the Janet module to compile, and output should be the
resulting image. Output should usually end with the .jimage extension. resulting image. Output should usually end with the .jimage extension.
.TP .TP
.BR \-l\ path .BR \-l\ lib
Load a Janet file before running a script or repl. Multiple files can be loaded 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 in this manner, and exports from each file will be made available to the script
or repl. or repl.

View File

@ -2763,7 +2763,7 @@
-m syspath : Set system path for loading global modules -m syspath : Set system path for loading global modules
-c source output : Compile janet source code into an image -c source output : Compile janet source code into an image
-n : Disable ANSI color output in the repl -n : Disable ANSI color output in the repl
-l path : Execute code in a file before running the main script -l lib : Import a module before processing more arguments
-- : Stop handling options`) -- : Stop handling options`)
(os/exit 0) (os/exit 0)
1) 1)