Change message of version mismach to a warning

This commit is contained in:
Alexander Karatarakis 2017-09-14 04:12:13 -07:00
parent 2d6029e41c
commit d55036a797

View File

@ -39,7 +39,8 @@ namespace vcpkg::Commands::Version
{ {
if (maj1 != maj2 || min1 != min2 || rev1 != rev2) if (maj1 != maj2 || min1 != min2 || rev1 != rev2)
{ {
System::println("Different source is available for vcpkg (%d.%d.%d -> %d.%d.%d). Use " System::println(System::Color::warning,
"Warning: Different source is available for vcpkg (%d.%d.%d -> %d.%d.%d). Use "
".\\bootstrap-vcpkg.bat to update.", ".\\bootstrap-vcpkg.bat to update.",
maj2, maj2,
min2, min2,