aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_search.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:45:39 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:45:39 -0700
commit4bc91f1f269aa72dccd51a8f07134e4e66701793 (patch)
treedab6f286b6f07b47d73a8bb05b16db66fe1dadd1 /toolsrc/src/commands_search.cpp
parent27bc6060203b5232bfb3b022b08ef66f64fb3ba9 (diff)
downloadvcpkg-4bc91f1f269aa72dccd51a8f07134e4e66701793.tar.gz
vcpkg-4bc91f1f269aa72dccd51a8f07134e4e66701793.zip
[commands] Use Checks::exit_fail/success/with_code()
Diffstat (limited to 'toolsrc/src/commands_search.cpp')
-rw-r--r--toolsrc/src/commands_search.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_search.cpp b/toolsrc/src/commands_search.cpp
index 463257fc9..93b48da63 100644
--- a/toolsrc/src/commands_search.cpp
+++ b/toolsrc/src/commands_search.cpp
@@ -64,7 +64,7 @@ namespace vcpkg::Commands::Search
{
const std::string graph_as_string = create_graph_as_string(source_paragraphs);
System::println(graph_as_string);
- exit(EXIT_SUCCESS);
+ Checks::exit_success(VCPKG_LINE_INFO);
}
if (args.command_arguments.empty())
@@ -91,6 +91,6 @@ namespace vcpkg::Commands::Search
System::println("\nIf your library is not listed, please open an issue at and/or consider making a pull request:\n"
" https://github.com/Microsoft/vcpkg/issues");
- exit(EXIT_SUCCESS);
+ Checks::exit_success(VCPKG_LINE_INFO);
}
}