diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-08-22 15:59:27 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-08-22 15:59:27 -0700 |
| commit | 687ea82f89504520e2a4c60feeb5c0bf6260a4de (patch) | |
| tree | e34dd8921c508ad4f8f58e16a36023cde6b26c54 /toolsrc/src/commands_list.cpp | |
| parent | 651ab5cef2c9742869185a181e1db529dc937d21 (diff) | |
| download | vcpkg-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.cpp | 10 |
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)); } } |
