1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-19 08:45:11 +00:00

Remove exit in favor of os-exit.

This commit is contained in:
Calvin Rose
2018-03-28 21:24:54 -04:00
parent e21a69920f
commit 0d5b57daee
5 changed files with 3 additions and 15 deletions

View File

@@ -11,8 +11,8 @@
(print " -h Show this help")
(print " -v Print the version string")
(print " -r Enter the repl after running all scripts")
(exit 0))
"v" (fn [] (print VERSION) (exit 0))
(os-exit 0))
"v" (fn [] (print VERSION) (os-exit 0))
"r" (fn [] (:= *should-repl* true))
})