Formatting

This commit is contained in:
Alexander Karatarakis 2017-04-10 12:58:19 -07:00
parent f7944d40a6
commit f306e8770f

View File

@ -6,12 +6,12 @@ namespace vcpkg::Commands
const std::vector<PackageNameAndFunction<CommandTypeA>>& get_available_commands_type_a()
{
static std::vector<PackageNameAndFunction<CommandTypeA>> t = {
{"install", &Install::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}
{ "remove", &Remove::perform_and_exit },
{ "build", &Build::perform_and_exit },
{ "env", &Env::perform_and_exit },
{ "build-external", &BuildExternal::perform_and_exit }
};
return t;
}
@ -19,19 +19,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;
}
@ -39,9 +39,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;
}