aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_list.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_list.cpp
parentb72c904719953c3b372c392c3a925609f4861f10 (diff)
downloadvcpkg-81c9445376e677aa04d33b125917a61020cafda9.tar.gz
vcpkg-81c9445376e677aa04d33b125917a61020cafda9.zip
example -> EXAMPLE
Diffstat (limited to 'toolsrc/src/commands_list.cpp')
-rw-r--r--toolsrc/src/commands_list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_list.cpp b/toolsrc/src/commands_list.cpp
index 3cfa7e184..98e26f3d0 100644
--- a/toolsrc/src/commands_list.cpp
+++ b/toolsrc/src/commands_list.cpp
@@ -25,10 +25,10 @@ namespace vcpkg::Commands::List
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths)
{
- static const std::string example = Strings::format(
+ static const std::string EXAMPLE = Strings::format(
"The argument should be a substring to search for, or no argument to display all installed libraries.\n%s",
Commands::Help::create_example_string("list png"));
- args.check_max_arg_count(1, example);
+ args.check_max_arg_count(1, EXAMPLE);
const std::unordered_set<std::string> options =
args.check_and_get_optional_command_arguments({OPTION_FULLDESC});