Skip to content

Commit 762f041

Browse files
committed
Fix behavior of --include and --output flags
It was not intended that these would consume multiple arguments after a single instance of the flag.
1 parent a291281 commit 762f041

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gen/cmd/src/app.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ into the generated C++ code as #include lines.
136136
.short("i")
137137
.takes_value(true)
138138
.multiple(true)
139+
.number_of_values(1)
139140
.validator_os(validate_utf8)
140141
.help(HELP)
141142
}
@@ -150,6 +151,7 @@ not specified.
150151
.short("o")
151152
.takes_value(true)
152153
.multiple(true)
154+
.number_of_values(1)
153155
.validator_os(validate_utf8)
154156
.help(HELP)
155157
}

0 commit comments

Comments
 (0)