aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-04-02 18:37:16 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-04-02 18:48:14 -0700
commit7849f5da1e72977745f9fd69365f70df98eb028e (patch)
tree9f3beb8756c4ce9b428fa29920c6091fe56923e4 /toolsrc/src
parent875410599151252b475234c162c3a9babb8be73f (diff)
downloadvcpkg-7849f5da1e72977745f9fd69365f70df98eb028e.tar.gz
vcpkg-7849f5da1e72977745f9fd69365f70df98eb028e.zip
[aria2] Use --x-use-aria2 instead of --use-aria2 for now
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/vcpkg/install.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolsrc/src/vcpkg/install.cpp b/toolsrc/src/vcpkg/install.cpp
index b998d19ab..fc336d6c7 100644
--- a/toolsrc/src/vcpkg/install.cpp
+++ b/toolsrc/src/vcpkg/install.cpp
@@ -412,7 +412,7 @@ namespace vcpkg::Install
static constexpr StringLiteral OPTION_RECURSE = "--recurse";
static constexpr StringLiteral OPTION_KEEP_GOING = "--keep-going";
static constexpr StringLiteral OPTION_XUNIT = "--x-xunit";
- static constexpr StringLiteral OPTION_USE_ARIA2 = "--use-aria2";
+ static constexpr StringLiteral OPTION_USE_ARIA2 = "--x-use-aria2";
static constexpr std::array<CommandSwitch, 6> INSTALL_SWITCHES = {{
{OPTION_DRY_RUN, "Do not actually build or install"},
@@ -556,8 +556,7 @@ namespace vcpkg::Install
StatusParagraphs status_db = database_load_check(paths);
Build::DownloadTool download_tool = Build::DownloadTool::BUILT_IN;
- if (use_aria2)
- download_tool = Build::DownloadTool::ARIA2;
+ if (use_aria2) download_tool = Build::DownloadTool::ARIA2;
const Build::BuildPackageOptions install_plan_options = {
Util::Enum::to_enum<Build::UseHeadVersion>(use_head_version),