Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca9ccfe

Browse files
authored
Theoretically fix- flag formoonc
`moonc` currently tells argparse to expect `-`, but actually checks for `--` on the cli, which breaks `moonc -`; this should in theory fix this
1 parent29d8ccc commitca9ccfe

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
@@ -20,7 +20,7 @@ parser:mutex(
2020
parser:flag("-",
2121
"Read from standard in, print to standard out (Must be only argument)")
2222

23-
localread_stdin=arg[1]=="--"-- luacheck: ignore 113
23+
localread_stdin=arg[1]=="-"-- luacheck: ignore 113
2424

2525
ifnotread_stdinthen
2626
parser:argument("file/directory"):args("+")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp