2017-01-28 04:49:09 +08:00
|
|
|
#include "pch.h"
|
2017-01-13 09:41:50 +08:00
|
|
|
#include "vcpkg_Commands.h"
|
|
|
|
#include "vcpkg_System.h"
|
|
|
|
|
2017-01-13 14:03:57 +08:00
|
|
|
namespace vcpkg::Commands::Contact
|
2017-01-13 09:41:50 +08:00
|
|
|
{
|
2017-02-18 12:13:36 +08:00
|
|
|
const std::string& email()
|
|
|
|
{
|
|
|
|
static const std::string s_email = R"(vcpkg@microsoft.com)";
|
|
|
|
return s_email;
|
|
|
|
}
|
|
|
|
|
|
|
|
void perform_and_exit(const vcpkg_cmd_arguments& args)
|
2017-01-13 09:41:50 +08:00
|
|
|
{
|
|
|
|
args.check_exact_arg_count(0);
|
2017-02-18 07:52:45 +08:00
|
|
|
args.check_and_get_optional_command_arguments({});
|
|
|
|
|
2017-02-18 12:13:36 +08:00
|
|
|
System::println("Send an email to %s with any feedback.", email());
|
2017-01-13 09:41:50 +08:00
|
|
|
exit(EXIT_SUCCESS);
|
|
|
|
}
|
|
|
|
}
|