mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 09:09:01 +08:00
[vcpkg-export] correctly handle --7zip option
This commit is contained in:
parent
75cdbd398b
commit
e1d91d8cb0
@ -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