Skip to content

Commit 848d4a1

Browse files
committed
Update man page.
1 parent 70e23df commit 848d4a1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

janet.1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ Disable ANSI colors in the repl. Has no effect if no repl is run.
175175
Open a REPL (Read Eval Print Loop) after executing all sources. By default, if Janet is called with no
176176
arguments, a REPL is opened.
177177

178+
.TP
179+
.BR \-R
180+
If using the REPL, disable loading the user profile from the JANET_PROFILE environment variable.
181+
178182
.TP
179183
.BR \-p
180184
Turn on the persistent flag. By default, when Janet is executing commands from a file and encounters an error,
@@ -221,6 +225,12 @@ find native and source code modules. If no JANET_PATH is set, Janet will look in
221225
the default location set at compile time.
222226
.RE
223227

228+
.B JANET_PROFILE
229+
.RS
230+
Path to a profile file that the interpreter will load before entering the REPL. This profile file will
231+
not run for scripts, though. This behavior can be disabled with the -R option.
232+
.RE
233+
224234
.B JANET_HASHSEED
225235
.RS
226236
To disable randomization of Janet's PRF on start up, one can set this variable. This can have the

0 commit comments

Comments
 (0)