aboutsummaryrefslogtreecommitdiff
path: root/neb.py
diff options
context:
space:
mode:
authormryouse2022-05-26 03:26:56 +0000
committermryouse2022-05-26 03:26:56 +0000
commitd27e1efe1ac20d7c5efc73a3ffe439f10658f72a (patch)
tree50124349f3ccd0073c2bb6945642f55f9b97f175 /neb.py
parentaeb75a610d712c0d853b7d6b8337c6f6d395859d (diff)
allow additional args for (argv)
Diffstat (limited to 'neb.py')
-rw-r--r--neb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neb.py b/neb.py
index a6c2fe4..3848ea2 100644
--- a/neb.py
+++ b/neb.py
@@ -56,7 +56,7 @@ def run_file(filename):
if __name__ == "__main__":
if len(sys.argv) == 1:
repl()
- elif len(sys.argv) == 2:
+ elif len(sys.argv) >= 2:
run_file(sys.argv[1])
else:
print("usage: neb [<file>]")