aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_export.cpp
diff options
context:
space:
mode:
authorcodicodi <rob.ceglinski@gmail.com>2017-04-22 12:22:49 +0200
committercodicodi <rob.ceglinski@gmail.com>2017-04-22 12:22:49 +0200
commite1d91d8cb08675829b54354e6d250313ff2285fd (patch)
treecfb988feb4c74b7ce98436c75e09ee5ed52fb9f2 /toolsrc/src/commands_export.cpp
parent75cdbd398b18b413d55cf76a7286b3681ea0806f (diff)
downloadvcpkg-e1d91d8cb08675829b54354e6d250313ff2285fd.tar.gz
vcpkg-e1d91d8cb08675829b54354e6d250313ff2285fd.zip
[vcpkg-export] correctly handle --7zip option
Diffstat (limited to 'toolsrc/src/commands_export.cpp')
-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