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:
@@ -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))
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user