aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_installation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_installation.cpp')
-rw-r--r--toolsrc/src/commands_installation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp
index 49047d074..24ea7480b 100644
--- a/toolsrc/src/commands_installation.cpp
+++ b/toolsrc/src/commands_installation.cpp
@@ -148,7 +148,7 @@ namespace vcpkg
exit(EXIT_FAILURE);
}
- expected<package_spec> current_spec = vcpkg::parse(args.command_arguments[0], default_target_triplet);
+ expected<package_spec> current_spec = package_spec::from_string(args.command_arguments[0], default_target_triplet);
if (auto spec = current_spec.get())
{
Environment::ensure_utilities_on_path(paths);