mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 03:03:05 +08:00
[vcpkg-search] added search in description
This commit is contained in:
parent
9f0a7173a2
commit
621d2f852d
@ -85,7 +85,11 @@ namespace vcpkg::Commands::Search
|
||||
if (Strings::case_insensitive_ascii_find(source_paragraph.name, args.command_arguments[0]) ==
|
||||
source_paragraph.name.end())
|
||||
{
|
||||
continue;
|
||||
if (Strings::case_insensitive_ascii_find(source_paragraph.description, args.command_arguments[0]) ==
|
||||
source_paragraph.description.end())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
do_print(source_paragraph);
|
||||
|
Loading…
Reference in New Issue
Block a user