mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-09-10 04:10:00 +00:00
Merge pull request #35 from jlesage/options_fix
Properly merge options. (Thanks SO MUCH. I can't believe I missed that one)
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ if ($0 == __FILE__)
|
||||
filelist = []
|
||||
ARGV.each do |arg|
|
||||
if (arg =~ /^-o\"?([a-zA-Z0-9._\\\/:\s]+)\"?/)
|
||||
options.merge CMockConfig.load_config_file_from_yaml( arg.gsub(/^-o/,'') )
|
||||
options.merge! CMockConfig.load_config_file_from_yaml( arg.gsub(/^-o/,'') )
|
||||
elsif (arg =~ /^--([a-zA-Z0-9._\\\/:\s]+)=\"?([a-zA-Z0-9._\\\/:\s\;]+)\"?/)
|
||||
options = option_maker(options, $1, $2)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user