aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolsrc/src/commands_owns.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/toolsrc/src/commands_owns.cpp b/toolsrc/src/commands_owns.cpp
index 1c54b35f7..19c0a8dc6 100644
--- a/toolsrc/src/commands_owns.cpp
+++ b/toolsrc/src/commands_owns.cpp
@@ -1,7 +1,6 @@
#include "vcpkg_Commands.h"
#include "vcpkg_System.h"
#include "vcpkg.h"
-#include <iostream>
namespace vcpkg
{
@@ -11,9 +10,7 @@ namespace vcpkg
if (args.command_arguments.size() == 0)
{
System::println(System::color::error, "Error: owns requires a pattern to search for as the first argument.");
- std::cout <<
- "example:\n"
- " vcpkg owns .dll\n";
+ print_example("owns .dll");
exit(EXIT_FAILURE);
}
StatusParagraphs status_db = database_load_check(paths);