mirror of
https://github.com/janet-lang/janet
synced 2025-01-11 16:10:27 +00:00
Fix -e option.
This commit is contained in:
parent
9e6254bf56
commit
56927e1b81
@ -30,7 +30,7 @@
|
|||||||
"-" (fn [&] (set *handleopts* false) 1)
|
"-" (fn [&] (set *handleopts* false) 1)
|
||||||
"e" (fn [i &]
|
"e" (fn [i &]
|
||||||
(set *no-file* false)
|
(set *no-file* false)
|
||||||
(eval (get process/args (+ i 1)))
|
(eval-string (get process/args (+ i 1)))
|
||||||
2)})
|
2)})
|
||||||
|
|
||||||
(defn- dohandler [n i &]
|
(defn- dohandler [n i &]
|
||||||
|
Loading…
Reference in New Issue
Block a user