aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_create.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-08-31 18:05:58 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-08-31 18:10:10 -0700
commit81c9445376e677aa04d33b125917a61020cafda9 (patch)
treeaf0b7fb274879d56dadf5bc9e06f21d4c32445ee /toolsrc/src/commands_create.cpp
parentb72c904719953c3b372c392c3a925609f4861f10 (diff)
downloadvcpkg-81c9445376e677aa04d33b125917a61020cafda9.tar.gz
vcpkg-81c9445376e677aa04d33b125917a61020cafda9.zip
example -> EXAMPLE
Diffstat (limited to 'toolsrc/src/commands_create.cpp')
-rw-r--r--toolsrc/src/commands_create.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/commands_create.cpp b/toolsrc/src/commands_create.cpp
index 7f85b776a..99c1b7401 100644
--- a/toolsrc/src/commands_create.cpp
+++ b/toolsrc/src/commands_create.cpp
@@ -10,10 +10,10 @@ namespace vcpkg::Commands::Create
{
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths)
{
- static const std::string example = Commands::Help::create_example_string(
+ static const std::string EXAMPLE = Commands::Help::create_example_string(
R"###(create zlib2 http://zlib.net/zlib1211.zip "zlib1211-2.zip")###");
- args.check_max_arg_count(3, example);
- args.check_min_arg_count(2, example);
+ args.check_max_arg_count(3, EXAMPLE);
+ args.check_min_arg_count(2, EXAMPLE);
args.check_and_get_optional_command_arguments({});
const std::string port_name = args.command_arguments.at(0);
const std::string url = args.command_arguments.at(1);