diff options
| author | 2019-02-18 15:31:15 -0500 | |
|---|---|---|
| committer | 2019-02-18 15:31:15 -0500 | |
| commit | 8d9a88e7594c319382939afb765fd75d29f15ac3 (patch) | |
| tree | fd0883dd8f5a5952131ea2ecd5fc3ff1643aabce /janet.1 | |
| parent | Update man page. (diff) | |
Add JANET_PATH back in.
Diffstat (limited to 'janet.1')
| -rw-r--r-- | janet.1 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -67,7 +67,7 @@ Quiet output. Don't print a repl prompt or expression results to stdout. .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 -/usr/local/lib/janet on Linux/Posix, and C:/Janet/Library on Windows. +/usr/local/lib/janet on Linux/Posix, and C:/Janet/Library on Windows. This option supersedes JANET_PATH. .TP .BR \-c\ source\ output @@ -86,5 +86,14 @@ or repl. Stop parsing command line arguments. All arguments after this one will be considered file names and then arguments to the script. +.SH ENVIRONMENT + +.B JANET_PATH +.RS +The location to look for Janet libraries. This is the only environment variable Janet needs to +find native and source code modules. If no JANET_PATH is set, Janet will look in +the default location set at compile time. +.RE + .SH AUTHOR Written by Calvin Rose <calsrose@gmail.com> |
