aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_remove.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-09-30 16:38:29 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-09-30 16:38:29 -0700
commitd7c357db2e3b6c15c422f5b631dcb089c245d3bf (patch)
tree25300788b564e913ea6f3bb108dd189105418c8d /toolsrc/src/commands_remove.cpp
parentdf55e93b18e609b75d15cdb985bbd04cb9436d81 (diff)
downloadvcpkg-d7c357db2e3b6c15c422f5b631dcb089c245d3bf.tar.gz
vcpkg-d7c357db2e3b6c15c422f5b631dcb089c245d3bf.zip
Replace usage of parse_all_args_as_package_specs with the new functions
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
-rw-r--r--toolsrc/src/commands_remove.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp
index c2d6cced3..fd0c43de5 100644
--- a/toolsrc/src/commands_remove.cpp
+++ b/toolsrc/src/commands_remove.cpp
@@ -28,7 +28,7 @@ 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 = args.parse_all_arguments_as_package_specs(default_target_triplet);
+ std::vector<package_spec> specs = vcpkg_cmd_arguments::check_and_get_package_specs(args.command_arguments, default_target_triplet, example.c_str());
bool alsoRemoveFolderFromPackages = options.find(OPTION_PURGE) != options.end();
for (const package_spec& spec : specs)