aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_update.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-04 12:58:34 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-04 12:59:02 -0700
commit43af01c0dde39d179d3a91227058a52224deba87 (patch)
tree0d063f48574c021f0d72a51a800941b91848fb1b /toolsrc/src/commands_update.cpp
parentce01a4ec2b7fa3d7454d4a794558c532a819bc15 (diff)
downloadvcpkg-43af01c0dde39d179d3a91227058a52224deba87.tar.gz
vcpkg-43af01c0dde39d179d3a91227058a52224deba87.zip
[vcpkg-remove-outdated] Add documentation for remove --outdated.
Diffstat (limited to 'toolsrc/src/commands_update.cpp')
-rw-r--r--toolsrc/src/commands_update.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolsrc/src/commands_update.cpp b/toolsrc/src/commands_update.cpp
index e23bfa7e9..08c3cf1bf 100644
--- a/toolsrc/src/commands_update.cpp
+++ b/toolsrc/src/commands_update.cpp
@@ -58,7 +58,10 @@ namespace vcpkg::Commands::Update
{
System::println(" %-32s %s", package.spec.display_name(), package.version_diff.toString());
}
- System::println("\nTo update these packages, run\n vcpkg remove --purge <pkgs>...\n vcpkg install <pkgs>...");
+ System::println("\n"
+ "To update these packages, run\n"
+ " vcpkg remove --purge --outdated\n"
+ " vcpkg install <pkgs>...");
}
auto version_file = Files::read_contents(paths.root / "toolsrc" / "VERSION.txt");