From 43af01c0dde39d179d3a91227058a52224deba87 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Tue, 4 Apr 2017 12:58:34 -0700 Subject: [vcpkg-remove-outdated] Add documentation for remove --outdated. --- toolsrc/src/commands_help.cpp | 1 + toolsrc/src/commands_update.cpp | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'toolsrc/src') diff --git a/toolsrc/src/commands_help.cpp b/toolsrc/src/commands_help.cpp index f5cde9435..d73a8e8f6 100644 --- a/toolsrc/src/commands_help.cpp +++ b/toolsrc/src/commands_help.cpp @@ -21,6 +21,7 @@ namespace vcpkg::Commands::Help " vcpkg search [pat] Search for packages available to be built\n" " vcpkg install Install a package\n" " vcpkg remove Uninstall a package. \n" + " vcpkg remove --outdated Uninstall all out-of-date packages\n" " vcpkg remove --purge Uninstall and delete a package. \n" " vcpkg list List installed packages\n" " vcpkg update Display list of packages for updating\n" 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 ...\n vcpkg install ..."); + System::println("\n" + "To update these packages, run\n" + " vcpkg remove --purge --outdated\n" + " vcpkg install ..."); } auto version_file = Files::read_contents(paths.root / "toolsrc" / "VERSION.txt"); -- cgit v1.2.3