aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_owns.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-12 17:35:33 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-12 17:43:05 -0800
commitdf2a05e8546281135c6ea12430734d74371bcf46 (patch)
treef64c97d48fbcb506def9b089cc4311736dcf08de /toolsrc/src/commands_owns.cpp
parent4c51e65d5004311c7c7ba0687e7dba934ba986c1 (diff)
downloadvcpkg-df2a05e8546281135c6ea12430734d74371bcf46.tar.gz
vcpkg-df2a05e8546281135c6ea12430734d74371bcf46.zip
Introduce Command namespace. Refactoring
Diffstat (limited to 'toolsrc/src/commands_owns.cpp')
-rw-r--r--toolsrc/src/commands_owns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_owns.cpp b/toolsrc/src/commands_owns.cpp
index 62dac57eb..e7719fe68 100644
--- a/toolsrc/src/commands_owns.cpp
+++ b/toolsrc/src/commands_owns.cpp
@@ -2,7 +2,7 @@
#include "vcpkg_System.h"
#include "vcpkg.h"
-namespace vcpkg
+namespace vcpkg::Commands
{
static void search_file(const vcpkg_paths& paths, const std::string& file_substr, const StatusParagraphs& status_db)
{
@@ -23,7 +23,7 @@ namespace vcpkg
void owns_command(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths)
{
- static const std::string example = Strings::format("The argument should be a pattern to search for. %s", create_example_string("owns zlib.dll"));
+ static const std::string example = Strings::format("The argument should be a pattern to search for. %s", Commands::Helpers::create_example_string("owns zlib.dll"));
args.check_exact_arg_count(1, example);
StatusParagraphs status_db = database_load_check(paths);