aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_list.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-08-22 15:59:27 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-08-22 15:59:27 -0700
commit687ea82f89504520e2a4c60feeb5c0bf6260a4de (patch)
treee34dd8921c508ad4f8f58e16a36023cde6b26c54 /toolsrc/src/commands_list.cpp
parent651ab5cef2c9742869185a181e1db529dc937d21 (diff)
downloadvcpkg-687ea82f89504520e2a4c60feeb5c0bf6260a4de.tar.gz
vcpkg-687ea82f89504520e2a4c60feeb5c0bf6260a4de.zip
[vcpkg] Improve formatting of search and list. Fix gl2ps version.
Diffstat (limited to 'toolsrc/src/commands_list.cpp')
-rw-r--r--toolsrc/src/commands_list.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolsrc/src/commands_list.cpp b/toolsrc/src/commands_list.cpp
index 9bc9bcc08..3cfa7e184 100644
--- a/toolsrc/src/commands_list.cpp
+++ b/toolsrc/src/commands_list.cpp
@@ -12,14 +12,14 @@ namespace vcpkg::Commands::List
{
if (FullDesc)
{
- System::println("%-27s %-16s %s", pgh.package.displayname(), pgh.package.version, pgh.package.description);
+ System::println("%-30s %-16s %s", pgh.package.displayname(), pgh.package.version, pgh.package.description);
}
else
{
- System::println("%-27s %-16s %s",
- pgh.package.displayname(),
- pgh.package.version,
- vcpkg::shorten_description(pgh.package.description));
+ System::println("%-30s %-16s %s",
+ vcpkg::shorten_text(pgh.package.displayname(), 30),
+ vcpkg::shorten_text(pgh.package.version, 16),
+ vcpkg::shorten_text(pgh.package.description, 71));
}
}