VcpkgCmdArguments.target_triplet -> ".triplet
MODIFY
include/VcpkgCmdArguments.h
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<std::string> vcpkg_root_dir;
- std::unique_ptr<std::string> target_triplet;
+ std::unique_ptr<std::string> triplet;
OptBoolT debug = OptBoolT::UNSPECIFIED;
OptBoolT sendmetrics = OptBoolT::UNSPECIFIED;
OptBoolT printmetrics = OptBoolT::UNSPECIFIED;

MODIFY
src/VcpkgCmdArguments.cpp
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")

MODIFY
src/vcpkg.cpp
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
{

VcpkgCmdArguments.target_triplet -> ".triplet