aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-08 18:25:50 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-08 18:25:50 -0700
commit5b28823d6be71422f6a3280ddb3d10431a58f6c9 (patch)
tree61d7a41b089beb49d0ccb268db333a29ee8685f0 /nomsu.moon
parent7c231bf43500d1727362a82d807233383dbf2791 (diff)
Fixed command line for no args.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 05246db..cff64b0 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -592,7 +592,7 @@ class NomsuCompiler
if arg
parser = re.compile([[
- args <- {| {:flags: flags? :} ({:input: input :} ";" ("-o;"{:output: output :} ";")?)? |} !.
+ args <- {| {:flags: flags? :} ({:input: input :} ";" ("-o;"{:output: output :} ";")?)? (";")? |} !.
flags <- (({| ({flag} ";")* |}) -> set)
flag <- "-c" / "-i" / "-p" / "-f" / "--help" / "-h"
input <- "-" / [^;]+