mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 08:19:01 +08:00
Add port name to the output message
This commit is contained in:
parent
4665b16ab3
commit
a868bc96da
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user