1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-24 15:30:27 +00:00

Change semantics of -l flag to be more useful.

This commit is contained in:
Calvin Rose 2019-07-04 12:42:54 -05:00
parent c1113d61d6
commit 7c4670c3de

View File

@ -50,7 +50,7 @@
3) 3)
"-" (fn [&] (set *handleopts* false) 1) "-" (fn [&] (set *handleopts* false) 1)
"l" (fn [i &] "l" (fn [i &]
(dofile (get process/args (+ i 1)) (import* (get process/args (+ i 1))
:prefix "" :exit *exit-on-error*) :prefix "" :exit *exit-on-error*)
2) 2)
"e" (fn [i &] "e" (fn [i &]