Skip to content

Commit 9963210

Browse files
committed
Correct '--output-to' to being an option rather than a bare flag
1 parent bf16c51 commit 9963210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/moonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ parser:flag("-v --version", "Print version")
1010
parser:flag("-w --watch", "Watch file/directory for updates")
1111
parser:option("--transform", "Transform syntax tree with module")
1212
parser:mutex(
13-
parser:flag("-t --output-to", "Specify where to place compiled files"),
13+
parser:option("-t --output-to", "Specify where to place compiled files"),
1414
parser:option("-o", "Write output to file"),
1515
parser:flag("-p", "Write output to standard output"),
1616
parser:flag("-T", "Write parse tree instead of code (to stdout)"),

0 commit comments

Comments
 (0)