From 95a44983db361d42c9ae3781acc4345d405cefed Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Thu, 22 Sep 2016 00:40:23 -0700 Subject: [PATCH] Use print_example() --- toolsrc/src/commands_owns.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/toolsrc/src/commands_owns.cpp b/toolsrc/src/commands_owns.cpp index 1c54b35f7f..19c0a8dc69 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 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);