From a868bc96da158f3b2dcbc9e8e406b9577a8a1ab0 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 2 Nov 2016 20:57:19 -0700 Subject: Add port name to the output message --- toolsrc/src/commands_installation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolsrc/src') 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); -- cgit v1.2.3