diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-02 20:57:19 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-02 20:57:19 -0700 |
| commit | a868bc96da158f3b2dcbc9e8e406b9577a8a1ab0 (patch) | |
| tree | 0f104ccf37beabfedc16bdbb573741e517d241ff /toolsrc/src/commands_installation.cpp | |
| parent | 4665b16ab3556235ddcbdac160df261ee87694e4 (diff) | |
| download | vcpkg-a868bc96da158f3b2dcbc9e8e406b9577a8a1ab0.tar.gz vcpkg-a868bc96da158f3b2dcbc9e8e406b9577a8a1ab0.zip | |
Add port name to the output message
Diffstat (limited to 'toolsrc/src/commands_installation.cpp')
| -rw-r--r-- | toolsrc/src/commands_installation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp index 914168092..67623b855 100644 --- a/toolsrc/src/commands_installation.cpp +++ b/toolsrc/src/commands_installation.cpp @@ -33,7 +33,7 @@ namespace vcpkg const std::string remaining_keys_as_string = Strings::join(remaining_keys, "\n "); const std::string valid_keys_as_string = Strings::join(valid_entries, "\n "); - System::println(System::color::error, "Error: There are invalid fields in the port file"); + System::println(System::color::error, "Error: There are invalid fields in port file %s", port_dir.generic_string()); System::println("The following fields were not expected in the port file:\n\n %s\n\n", remaining_keys_as_string); System::println("This is the list of valid fields (case-sensitive): \n\n %s\n", valid_keys_as_string); exit(EXIT_FAILURE); |
