From 848d4a14983c058259690c946506d81a462b9bff Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 16 Jan 2021 19:40:29 -0600 Subject: [PATCH] Update man page. --- janet.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/janet.1 b/janet.1 index e25989e2..1a9d5faa 100644 --- a/janet.1 +++ b/janet.1 @@ -175,6 +175,10 @@ Disable ANSI colors in the repl. Has no effect if no repl is run. Open a REPL (Read Eval Print Loop) after executing all sources. By default, if Janet is called with no arguments, a REPL is opened. +.TP +.BR \-R +If using the REPL, disable loading the user profile from the JANET_PROFILE environment variable. + .TP .BR \-p 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 the default location set at compile time. .RE +.B JANET_PROFILE +.RS +Path to a profile file that the interpreter will load before entering the REPL. This profile file will +not run for scripts, though. This behavior can be disabled with the -R option. +.RE + .B JANET_HASHSEED .RS To disable randomization of Janet's PRF on start up, one can set this variable. This can have the