aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_available_commands.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-28 12:55:50 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-28 12:55:50 -0700
commit346aa3fab8c02fcabe09b2738a392e62e792b99f (patch)
tree2446160b304c81759439ec9e5fd952edae51005f /toolsrc/src/commands_available_commands.cpp
parent8a1e0b144c26dd7e6e29a9b230936169ca595fed (diff)
downloadvcpkg-346aa3fab8c02fcabe09b2738a392e62e792b99f.tar.gz
vcpkg-346aa3fab8c02fcabe09b2738a392e62e792b99f.zip
[clang-format] Cpp11BracedListStyle: true
Diffstat (limited to 'toolsrc/src/commands_available_commands.cpp')
-rw-r--r--toolsrc/src/commands_available_commands.cpp43
1 files changed, 23 insertions, 20 deletions
diff --git a/toolsrc/src/commands_available_commands.cpp b/toolsrc/src/commands_available_commands.cpp
index efe4ff740..ec80fea5d 100644
--- a/toolsrc/src/commands_available_commands.cpp
+++ b/toolsrc/src/commands_available_commands.cpp
@@ -7,10 +7,13 @@ namespace vcpkg::Commands
const std::vector<PackageNameAndFunction<CommandTypeA>>& get_available_commands_type_a()
{
static std::vector<PackageNameAndFunction<CommandTypeA>> t = {
- { "install", &Install::perform_and_exit }, { "ci", &CI::perform_and_exit },
- { "remove", &Remove::perform_and_exit }, { "build", &Build::perform_and_exit },
- { "env", &Env::perform_and_exit }, { "build-external", &BuildExternal::perform_and_exit },
- { "export", &Export::perform_and_exit },
+ {"install", &Install::perform_and_exit},
+ {"ci", &CI::perform_and_exit},
+ {"remove", &Remove::perform_and_exit},
+ {"build", &Build::perform_and_exit},
+ {"env", &Env::perform_and_exit},
+ {"build-external", &BuildExternal::perform_and_exit},
+ {"export", &Export::perform_and_exit},
};
return t;
}
@@ -18,19 +21,19 @@ namespace vcpkg::Commands
const std::vector<PackageNameAndFunction<CommandTypeB>>& get_available_commands_type_b()
{
static std::vector<PackageNameAndFunction<CommandTypeB>> t = {
- { "/?", &Help::perform_and_exit },
- { "help", &Help::perform_and_exit },
- { "search", &Search::perform_and_exit },
- { "list", &List::perform_and_exit },
- { "integrate", &Integrate::perform_and_exit },
- { "owns", &Owns::perform_and_exit },
- { "update", &Update::perform_and_exit },
- { "depend-info", &DependInfo::perform_and_exit },
- { "edit", &Edit::perform_and_exit },
- { "create", &Create::perform_and_exit },
- { "import", &Import::perform_and_exit },
- { "cache", &Cache::perform_and_exit },
- { "portsdiff", &PortsDiff::perform_and_exit },
+ {"/?", &Help::perform_and_exit},
+ {"help", &Help::perform_and_exit},
+ {"search", &Search::perform_and_exit},
+ {"list", &List::perform_and_exit},
+ {"integrate", &Integrate::perform_and_exit},
+ {"owns", &Owns::perform_and_exit},
+ {"update", &Update::perform_and_exit},
+ {"depend-info", &DependInfo::perform_and_exit},
+ {"edit", &Edit::perform_and_exit},
+ {"create", &Create::perform_and_exit},
+ {"import", &Import::perform_and_exit},
+ {"cache", &Cache::perform_and_exit},
+ {"portsdiff", &PortsDiff::perform_and_exit},
};
return t;
}
@@ -38,9 +41,9 @@ namespace vcpkg::Commands
const std::vector<PackageNameAndFunction<CommandTypeC>>& get_available_commands_type_c()
{
static std::vector<PackageNameAndFunction<CommandTypeC>> t = {
- { "version", &Version::perform_and_exit },
- { "contact", &Contact::perform_and_exit },
- { "hash", &Hash::perform_and_exit },
+ {"version", &Version::perform_and_exit},
+ {"contact", &Contact::perform_and_exit},
+ {"hash", &Hash::perform_and_exit},
};
return t;
}