diff options
Diffstat (limited to 'toolsrc/src/commands_contact.cpp')
| -rw-r--r-- | toolsrc/src/commands_contact.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/toolsrc/src/commands_contact.cpp b/toolsrc/src/commands_contact.cpp index 2be468fb8..29f0d4d27 100644 --- a/toolsrc/src/commands_contact.cpp +++ b/toolsrc/src/commands_contact.cpp @@ -1,14 +1,21 @@ #include "pch.h" #include "vcpkg_Commands.h" #include "vcpkg_System.h" -#include "vcpkg_info.h" namespace vcpkg::Commands::Contact { - void perform_and_exit(const vcpkg_cmd_arguments& args) + 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) { args.check_exact_arg_count(0); - System::println("Send an email to %s with any feedback.", Info::email()); + args.check_and_get_optional_command_arguments({}); + + System::println("Send an email to %s with any feedback.", email()); exit(EXIT_SUCCESS); } } |
