aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-23 08:13:23 -0700
committerGitHub <noreply@github.com>2017-04-23 08:13:23 -0700
commit3eebe790c8435fe343c37f408f777d8adf9b9881 (patch)
treed0e8255293728432dcedb6cd7db8db9b87ed57e7 /toolsrc/src
parent96aa4a372d1d2a1262bc6db826eac492abc25d7e (diff)
parente1d91d8cb08675829b54354e6d250313ff2285fd (diff)
downloadvcpkg-3eebe790c8435fe343c37f408f777d8adf9b9881.tar.gz
vcpkg-3eebe790c8435fe343c37f408f777d8adf9b9881.zip
Merge pull request #966 from codicodi/fix-export-7zip
[vcpkg-export] correctly handle --7zip option
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/commands_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_export.cpp b/toolsrc/src/commands_export.cpp
index a459aadd5..57dcb5e88 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