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:
parent
c1113d61d6
commit
7c4670c3de
@ -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 &]
|
||||||
|
Loading…
Reference in New Issue
Block a user