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_search.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_search.cpp')
| -rw-r--r-- | toolsrc/src/commands_search.cpp | 10 |
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)); } } |
