1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-17 10:49:56 +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)
"-" (fn [&] (set *handleopts* false) 1)
"l" (fn [i &]
(dofile (get process/args (+ i 1))
(import* (get process/args (+ i 1))
:prefix "" :exit *exit-on-error*)
2)
"e" (fn [i &]