Exit with CLI exit code

This commit is contained in:
josh committed 2021-05-01 09:34:38 -04:00
1 parent 37ad87d602
commit 7f27b3fd6f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
require "imbecile" require "imbecile"
Imbecile::CLI.run(ARGV.dup) exit Imbecile::CLI.run(ARGV.dup)
+1
View File
@@ -11,6 +11,7 @@ module Imbecile
unless grammar.load(input_file) unless grammar.load(input_file)
return 2 return 2
end end
return 0
end end
end end