diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-17 20:13:36 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-17 20:13:36 -0800 |
| commit | 43eb772d9475b4e9ec06eb54dca078a4793ab9e4 (patch) | |
| tree | b54ff8e549f7ffcc78691d4489021276397547a9 /toolsrc/src/commands_contact.cpp | |
| parent | ac2ec94129ae0bdbcb16c0c2333fbfc52844d6c6 (diff) | |
| download | vcpkg-43eb772d9475b4e9ec06eb54dca078a4793ab9e4.tar.gz vcpkg-43eb772d9475b4e9ec06eb54dca078a4793ab9e4.zip | |
Change Info::email() to Contact::email(). Remove vcpkg_info.h/cpp
Diffstat (limited to 'toolsrc/src/commands_contact.cpp')
| -rw-r--r-- | toolsrc/src/commands_contact.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/toolsrc/src/commands_contact.cpp b/toolsrc/src/commands_contact.cpp index c5b8cab7e..29f0d4d27 100644 --- a/toolsrc/src/commands_contact.cpp +++ b/toolsrc/src/commands_contact.cpp @@ -1,16 +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); args.check_and_get_optional_command_arguments({}); - System::println("Send an email to %s with any feedback.", Info::email()); + System::println("Send an email to %s with any feedback.", email()); exit(EXIT_SUCCESS); } } |
