improve find_vswhere (allow use of check/command options)
@@ -51,8 +51,8 @@ function main(opt)
opt = opt or {}
-- find program
- opt.check = "-?"
- opt.command = "-?"
+ opt.check = opt.check or "-?"
+ opt.command = opt.command or "-?"
opt.pathes = opt.pathes or
{
"$(env ProgramFiles%(x86%))\\Microsoft Visual Studio\\Installer",
