Skip to content

Commit

Permalink
Fix invalid arg handling on generate
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc committed Jun 21, 2023
1 parent 4e7c6ab commit 2b65b4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fprime/util/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def validate(parsed, unknown):
d_args = {
match.group(1): match.group(2)
for match in [CMAKE_REG.match(arg) for arg in unknown]
if match is not None
}
cmake_args.update(d_args)
unknown = [arg for arg in unknown if not CMAKE_REG.match(arg)]
Expand Down

0 comments on commit 2b65b4d

Please sign in to comment.