aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_search.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_search.cpp
parentb72c904719953c3b372c392c3a925609f4861f10 (diff)
downloadvcpkg-81c9445376e677aa04d33b125917a61020cafda9.tar.gz
vcpkg-81c9445376e677aa04d33b125917a61020cafda9.zip
example -> EXAMPLE
Diffstat (limited to 'toolsrc/src/commands_search.cpp')
-rw-r--r--toolsrc/src/commands_search.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_search.cpp b/toolsrc/src/commands_search.cpp
index 529d52a8b..1ccec9fbe 100644
--- a/toolsrc/src/commands_search.cpp
+++ b/toolsrc/src/commands_search.cpp
@@ -80,10 +80,10 @@ namespace vcpkg::Commands::Search
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 libraries.\n%s",
Commands::Help::create_example_string("search 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_GRAPH, OPTION_FULLDESC});