mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-05 21:15:20 +00:00
334f46781a
If an option is passed via CLI, it cannot be passed with an empty value because the Regex makes it to match 1 or more characters. For example, arguments `--mock_prefix=""` and `--mock_prefix=` are invalid, because they don't match the regex and are not recognized as options, so they're treated as files to mock. Changing the regex to match 0 or more characters for the option value, instead of 1 or more, solves the problem.