aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_search.cpp')
-rw-r--r--toolsrc/src/commands_search.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolsrc/src/commands_search.cpp b/toolsrc/src/commands_search.cpp
index f12c25fb6..b1bd7ea6f 100644
--- a/toolsrc/src/commands_search.cpp
+++ b/toolsrc/src/commands_search.cpp
@@ -57,9 +57,9 @@ namespace vcpkg::Commands::Search
else
{
System::println("%-20s %-16s %s",
- source_paragraph.name,
- source_paragraph.version,
- vcpkg::shorten_description(source_paragraph.description));
+ vcpkg::shorten_text(source_paragraph.name, 20),
+ vcpkg::shorten_text(source_paragraph.version, 16),
+ vcpkg::shorten_text(source_paragraph.description, 81));
}
}
@@ -72,8 +72,8 @@ namespace vcpkg::Commands::Search
else
{
System::println("%-37s %s",
- name + "[" + feature_paragraph.name + "]",
- vcpkg::shorten_description(feature_paragraph.description));
+ vcpkg::shorten_text(name + "[" + feature_paragraph.name + "]", 37),
+ vcpkg::shorten_text(feature_paragraph.description, 81));
}
}