diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 12:55:50 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 12:55:50 -0700 |
| commit | 346aa3fab8c02fcabe09b2738a392e62e792b99f (patch) | |
| tree | 2446160b304c81759439ec9e5fd952edae51005f /toolsrc/src/commands_remove.cpp | |
| parent | 8a1e0b144c26dd7e6e29a9b230936169ca595fed (diff) | |
| download | vcpkg-346aa3fab8c02fcabe09b2738a392e62e792b99f.tar.gz vcpkg-346aa3fab8c02fcabe09b2738a392e62e792b99f.zip | |
[clang-format] Cpp11BracedListStyle: true
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
| -rw-r--r-- | toolsrc/src/commands_remove.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index d52c9347b..6a8d4af1e 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -89,8 +89,7 @@ namespace vcpkg::Commands::Remove static void print_plan(const std::map<RemovePlanType, std::vector<const RemovePlanAction*>>& group_by_plan_type) { - static constexpr std::array<RemovePlanType, 2> order = { RemovePlanType::NOT_INSTALLED, - RemovePlanType::REMOVE }; + static constexpr std::array<RemovePlanType, 2> order = {RemovePlanType::NOT_INSTALLED, RemovePlanType::REMOVE}; for (const RemovePlanType plan_type : order) { @@ -135,9 +134,11 @@ namespace vcpkg::Commands::Remove }; static constexpr Option options_table[] = { - Option{ "--purge", SINGLE_WITH_NO }, Option{ "--recurse", SINGLE_WITH_NO }, - Option{ "--dry-run", SINGLE_WITH_NO }, Option{ "--outdated", SINGLE }, - Option{ "--logfile", VALUE }, + Option{"--purge", SINGLE_WITH_NO}, + Option{"--recurse", SINGLE_WITH_NO}, + Option{"--dry-run", SINGLE_WITH_NO}, + Option{"--outdated", SINGLE}, + Option{"--logfile", VALUE}, }; static constexpr CStringView OPTION_PURGE = "--purge"; @@ -148,7 +149,7 @@ namespace vcpkg::Commands::Remove static const std::string example = Commands::Help::create_example_string("remove zlib zlib:x64-windows curl boost"); const std::unordered_set<std::string> options = args.check_and_get_optional_command_arguments( - { OPTION_PURGE, OPTION_NO_PURGE, OPTION_RECURSE, OPTION_DRY_RUN, OPTION_OUTDATED }); + {OPTION_PURGE, OPTION_NO_PURGE, OPTION_RECURSE, OPTION_DRY_RUN, OPTION_OUTDATED}); StatusParagraphs status_db = database_load_check(paths); std::vector<PackageSpec> specs; |
