diff --git a/toolsrc/include/VcpkgCmdArguments.h b/toolsrc/include/VcpkgCmdArguments.h index 4a0809fff2..3a915205e4 100644 --- a/toolsrc/include/VcpkgCmdArguments.h +++ b/toolsrc/include/VcpkgCmdArguments.h @@ -13,7 +13,7 @@ namespace vcpkg static VcpkgCmdArguments create_from_arg_sequence(const std::string* arg_begin, const std::string* arg_end); std::unique_ptr vcpkg_root_dir; - std::unique_ptr target_triplet; + std::unique_ptr triplet; OptBoolT debug = OptBoolT::UNSPECIFIED; OptBoolT sendmetrics = OptBoolT::UNSPECIFIED; OptBoolT printmetrics = OptBoolT::UNSPECIFIED; diff --git a/toolsrc/src/VcpkgCmdArguments.cpp b/toolsrc/src/VcpkgCmdArguments.cpp index 99ca26877c..b5f608840d 100644 --- a/toolsrc/src/VcpkgCmdArguments.cpp +++ b/toolsrc/src/VcpkgCmdArguments.cpp @@ -88,7 +88,7 @@ namespace vcpkg if (arg == "--triplet") { ++arg_begin; - parse_value(arg_begin, arg_end, "--triplet", args.target_triplet); + parse_value(arg_begin, arg_end, "--triplet", args.triplet); continue; } if (arg == "--debug") diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp index ffe325f6ee..74e11c3d48 100644 --- a/toolsrc/src/vcpkg.cpp +++ b/toolsrc/src/vcpkg.cpp @@ -70,9 +70,9 @@ static void inner(const VcpkgCmdArguments& args) } Triplet default_triplet; - if (args.target_triplet != nullptr) + if (args.triplet != nullptr) { - default_triplet = Triplet::from_canonical_name(*args.target_triplet); + default_triplet = Triplet::from_canonical_name(*args.triplet); } else {