1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

Fix -r switch in repl

This commit is contained in:
Calvin Rose 2021-10-14 17:25:12 -05:00
parent 0774e79e4f
commit 74c9cf03d0

View File

@ -3573,7 +3573,7 @@
1) 1)
"v" (fn [&] (print janet/version "-" janet/build) (os/exit 0) 1) "v" (fn [&] (print janet/version "-" janet/build) (os/exit 0) 1)
"s" (fn [&] (set raw-stdin true) (set should-repl true) 1) "s" (fn [&] (set raw-stdin true) (set should-repl true) 1)
"r" (fn [&] (set should-repl true) 0) "r" (fn [&] (set should-repl true) 1)
"p" (fn [&] (set exit-on-error false) 1) "p" (fn [&] (set exit-on-error false) 1)
"q" (fn [&] (set quiet true) 1) "q" (fn [&] (set quiet true) 1)
"i" (fn [&] (set expect-image true) 1) "i" (fn [&] (set expect-image true) 1)