aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
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 6fac8bb..29879b9 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -842,7 +842,7 @@ do
NomsuCompiler = _class_0
end
if arg then
- local parser = re.compile([[ args <- {| {:flags: flags? :} ({:input: input :} ";" ("-o;"{:output: output :} ";")?)? |} !.
+ local parser = re.compile([[ args <- {| {:flags: flags? :} ({:input: input :} ";" ("-o;"{:output: output :} ";")?)? (";")? |} !.
flags <- (({| ({flag} ";")* |}) -> set)
flag <- "-c" / "-i" / "-p" / "-f" / "--help" / "-h"
input <- "-" / [^;]+