1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

Update man page.

This commit is contained in:
Calvin Rose 2021-01-16 19:40:29 -06:00
parent 70e23df6f8
commit 848d4a1498

10
janet.1
View File

@ -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 Open a REPL (Read Eval Print Loop) after executing all sources. By default, if Janet is called with no
arguments, a REPL is opened. arguments, a REPL is opened.
.TP
.BR \-R
If using the REPL, disable loading the user profile from the JANET_PROFILE environment variable.
.TP .TP
.BR \-p .BR \-p
Turn on the persistent flag. By default, when Janet is executing commands from a file and encounters an error, 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. the default location set at compile time.
.RE .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 .B JANET_HASHSEED
.RS .RS
To disable randomization of Janet's PRF on start up, one can set this variable. This can have the To disable randomization of Janet's PRF on start up, one can set this variable. This can have the