From e1d91d8cb08675829b54354e6d250313ff2285fd Mon Sep 17 00:00:00 2001 From: codicodi Date: Sat, 22 Apr 2017 12:22:49 +0200 Subject: [PATCH] [vcpkg-export] correctly handle --7zip option --- toolsrc/src/commands_export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolsrc/src/commands_export.cpp b/toolsrc/src/commands_export.cpp index a459aadd53..57dcb5e88b 100644 --- a/toolsrc/src/commands_export.cpp +++ b/toolsrc/src/commands_export.cpp @@ -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