1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 15:13:16 +00:00

Fix -e option.

This commit is contained in:
Calvin Rose 2018-12-30 17:51:15 -05:00
parent 9e6254bf56
commit 56927e1b81

View File

@ -30,7 +30,7 @@
"-" (fn [&] (set *handleopts* false) 1)
"e" (fn [i &]
(set *no-file* false)
(eval (get process/args (+ i 1)))
(eval-string (get process/args (+ i 1)))
2)})
(defn- dohandler [n i &]