aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/vcpkg.cpp')
-rw-r--r--toolsrc/src/vcpkg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp
index 2bfa3f508..0158b3755 100644
--- a/toolsrc/src/vcpkg.cpp
+++ b/toolsrc/src/vcpkg.cpp
@@ -68,9 +68,9 @@ static void inner(vcpkg::Files::Filesystem& fs, const VcpkgCmdArguments& args)
}
};
- if (const auto command_function = find_command(Commands::get_available_commands_type_c()))
+ if (const auto command_function = find_command(Commands::get_available_basic_commands()))
{
- return command_function->function(args, fs);
+ return command_function->function->perform_and_exit(args, fs);
}
const VcpkgPaths paths(fs, args);
@@ -104,17 +104,17 @@ static void inner(vcpkg::Files::Filesystem& fs, const VcpkgCmdArguments& args)
}
}
- if (const auto command_function = find_command(Commands::get_available_commands_type_b()))
+ if (const auto command_function = find_command(Commands::get_available_paths_commands()))
{
- return command_function->function(args, paths);
+ return command_function->function->perform_and_exit(args, paths);
}
Triplet default_triplet = vcpkg::default_triplet(args);
Input::check_triplet(default_triplet, paths);
- if (const auto command_function = find_command(Commands::get_available_commands_type_a()))
+ if (const auto command_function = find_command(Commands::get_available_triplet_commands()))
{
- return command_function->function(args, paths, default_triplet);
+ return command_function->function->perform_and_exit(args, paths, default_triplet);
}
return invalid_command(args.command);