aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_edit.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_edit.cpp
parent4c51e65d5004311c7c7ba0687e7dba934ba986c1 (diff)
downloadvcpkg-df2a05e8546281135c6ea12430734d74371bcf46.tar.gz
vcpkg-df2a05e8546281135c6ea12430734d74371bcf46.zip
Introduce Command namespace. Refactoring
Diffstat (limited to 'toolsrc/src/commands_edit.cpp')
-rw-r--r--toolsrc/src/commands_edit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_edit.cpp b/toolsrc/src/commands_edit.cpp
index f7c489f2b..090837a19 100644
--- a/toolsrc/src/commands_edit.cpp
+++ b/toolsrc/src/commands_edit.cpp
@@ -2,11 +2,11 @@
#include "vcpkg_System.h"
#include "vcpkg_Input.h"
-namespace vcpkg
+namespace vcpkg::Commands
{
void edit_command(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths)
{
- static const std::string example = create_example_string("edit zlib");
+ static const std::string example = Commands::Helpers::create_example_string("edit zlib");
args.check_exact_arg_count(1, example);
const std::string port_name = args.command_arguments.at(0);