mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:49:00 +08:00
Merge pull request #966 from codicodi/fix-export-7zip
[vcpkg-export] correctly handle --7zip option
This commit is contained in:
commit
3eebe790c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user