Merge pull request #966 from codicodi/fix-export-7zip

[vcpkg-export] correctly handle --7zip option
This commit is contained in:
Robert Schumacher 2017-04-23 08:13:23 -07:00 committed by GitHub
commit 3eebe790c8

View File

@ -191,7 +191,7 @@ namespace vcpkg::Commands::Export
const bool zip = options.find(OPTION_ZIP) != options.cend();
const bool _7zip = options.find(OPTION_7ZIP) != options.cend();
Checks::check_exit(VCPKG_LINE_INFO, raw || nuget || zip,
Checks::check_exit(VCPKG_LINE_INFO, raw || nuget || zip || _7zip,
"Must provide at least one of the following options: --raw --nuget --zip --7zip");
// create the plan