aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nomsu.lua2
-rwxr-xr-xnomsu.moon2
2 files changed, 2 insertions, 2 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 = ""
diff --git a/nomsu.moon b/nomsu.moon
index 1f5c05d..9ea8353 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -693,7 +693,7 @@ if arg
if args.flags["-p"]
c.write = _write
- if not args.input or args.flags["-i"]
+ if args.flags["-i"]
-- REPL
c\run('require "lib/core.nom"', "stdin")
while true