diff options
| author | atkawa7 <atkawa7@yahoo.com> | 2017-06-13 17:12:54 -0700 |
|---|---|---|
| committer | atkawa7 <atkawa7@yahoo.com> | 2017-06-13 17:12:54 -0700 |
| commit | aa83671a723da212e640990ef9b9efafccba8af1 (patch) | |
| tree | f50d482f3d2b4e3545a672eb58712ac553d272de /toolsrc/src/commands_update.cpp | |
| parent | 9a409006cf7ec63bebe0d9341799b5cb529155ae (diff) | |
| parent | 548ff8d3db47e83ebecc5b57dcbd63723cee7546 (diff) | |
| download | vcpkg-aa83671a723da212e640990ef9b9efafccba8af1.tar.gz vcpkg-aa83671a723da212e640990ef9b9efafccba8af1.zip | |
Merge https://github.com/Microsoft/vcpkg into live555
Diffstat (limited to 'toolsrc/src/commands_update.cpp')
| -rw-r--r-- | toolsrc/src/commands_update.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/toolsrc/src/commands_update.cpp b/toolsrc/src/commands_update.cpp index e39c7dd35..f87ccfb06 100644 --- a/toolsrc/src/commands_update.cpp +++ b/toolsrc/src/commands_update.cpp @@ -56,15 +56,18 @@ namespace vcpkg::Commands::Update } else { + std::string install_line; System::println("The following packages differ from their port versions:"); for (auto&& package : outdated_packages) { + install_line += package.spec.to_string(); + install_line += " "; System::println(" %-32s %s", package.spec, package.version_diff.to_string()); } System::println("\n" "To update these packages, run\n" " .\\vcpkg remove --outdated\n" - " .\\vcpkg install <pkgs>..."); + " .\\vcpkg install " + install_line); } auto version_file = paths.get_filesystem().read_contents(paths.root / "toolsrc" / "VERSION.txt"); |
