aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_remove.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-09-30 17:09:23 -0700
committerRobert Schumacher <roschuma@microsoft.com>2016-09-30 17:09:23 -0700
commit98b4a67fe1af6974f146b518c0f1644de290d8da (patch)
tree015bea935501b3ae80c635b06da83e9591d9166c /toolsrc/src/commands_remove.cpp
parent241ca8cd17929d53a5c10c4f366f6972d865ba4f (diff)
parent188eac680ba930c51943d4af34de58bbd325dcb1 (diff)
downloadvcpkg-98b4a67fe1af6974f146b518c0f1644de290d8da.tar.gz
vcpkg-98b4a67fe1af6974f146b518c0f1644de290d8da.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
-rw-r--r--toolsrc/src/commands_remove.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp
index fd0c43de5..5bb9ecc96 100644
--- a/toolsrc/src/commands_remove.cpp
+++ b/toolsrc/src/commands_remove.cpp
@@ -1,6 +1,7 @@
#include "vcpkg_Commands.h"
#include "vcpkg.h"
#include "vcpkg_System.h"
+#include "vcpkg_Input.h"
namespace vcpkg
{
@@ -28,7 +29,8 @@ namespace vcpkg
const std::unordered_set<std::string> options = args.check_and_get_optional_command_arguments({OPTION_PURGE});
auto status_db = database_load_check(paths);
- std::vector<package_spec> specs = vcpkg_cmd_arguments::check_and_get_package_specs(args.command_arguments, default_target_triplet, example.c_str());
+ std::vector<package_spec> specs = Input::check_and_get_package_specs(args.command_arguments, default_target_triplet, example.c_str());
+ Input::check_triplets(specs, paths);
bool alsoRemoveFolderFromPackages = options.find(OPTION_PURGE) != options.end();
for (const package_spec& spec : specs)