aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-10-11 17:56:01 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-10-11 17:56:01 -0700
commit7cd465b8897bd9487db6d990e58dcac472b3d4d6 (patch)
tree8623c61089060c117c7964a0928fc6b3bcd5ab46
parent8704db578aadbadc8757bbb1d4acc73b7e382b20 (diff)
downloadvcpkg-7cd465b8897bd9487db6d990e58dcac472b3d4d6.tar.gz
vcpkg-7cd465b8897bd9487db6d990e58dcac472b3d4d6.zip
`vcpkg install` Print summary when using the --keep-going flag
-rw-r--r--toolsrc/src/commands_install.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index d815332fe..4411dd3ae 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -556,6 +556,7 @@ namespace vcpkg::Commands::Install
const bool no_downloads = options.find(OPTION_NO_DOWNLOADS) != options.cend();
const bool is_recursive = options.find(OPTION_RECURSE) != options.cend();
const KeepGoing keep_going = to_keep_going(options.find(OPTION_KEEP_GOING) != options.cend());
+ const PrintSummary print_summary = to_print_summary(keep_going == KeepGoing::YES);
// create the plan
StatusParagraphs status_db = database_load_check(paths);
@@ -606,7 +607,7 @@ namespace vcpkg::Commands::Install
Checks::exit_success(VCPKG_LINE_INFO);
}
- perform_and_exit(action_plan, install_plan_options, keep_going, PrintSummary::NO, paths, status_db);
+ perform_and_exit(action_plan, install_plan_options, keep_going, print_summary, paths, status_db);
Checks::exit_success(VCPKG_LINE_INFO);
}