aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-20 15:17:57 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-20 15:17:57 -0700
commit3d81837261ff0a3b3fba8d59243c06fee8d650f4 (patch)
treebde89b9ae67eb2493eae61a4b449d330039132e5 /nomsu.lua
parentc6819cf1e96f471ef0c278c2063a02ab429094fe (diff)
Made it so nomsu only runs REPL with -i
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 9b4b2f1..aecb6fe 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -1017,7 +1017,7 @@ if arg then
c.write = _write
end
end
- if not args.input or args.flags["-i"] then
+ if args.flags["-i"] then
c:run('require "lib/core.nom"', "stdin")
while true do
local buff = ""