aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-09-22 00:40:23 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-09-22 00:40:23 -0700
commit95a44983db361d42c9ae3781acc4345d405cefed (patch)
treeaeab97ef961d8737763a98cbc92224a255c9b100 /toolsrc/src
parent4f80532991f5b9d4d1eae455a91f289e9bea081a (diff)
downloadvcpkg-95a44983db361d42c9ae3781acc4345d405cefed.tar.gz
vcpkg-95a44983db361d42c9ae3781acc4345d405cefed.zip
Use print_example()
Diffstat (limited to 'toolsrc/src')
-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);