diff --git a/janet.1 b/janet.1 index 4f39eb75..21b38e46 100644 --- a/janet.1 +++ b/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. .TP -.BR \-l\ path -Load a Janet file before running a script or repl. Multiple files can be loaded +.BR \-l\ lib +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. diff --git a/src/boot/boot.janet b/src/boot/boot.janet index ec4e8e29..1aad1f1c 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -2763,7 +2763,7 @@ -m syspath : Set system path for loading global modules -c source output : Compile janet source code into an image -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`) (os/exit 0) 1)