mirror of https://github.com/janet-lang/janet
Update docs for -l option.
This commit is contained in:
parent
f580d2e41a
commit
b4f5e5bc00
4
janet.1
4
janet.1
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue