diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2020-03-25 10:50:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-25 10:50:27 -0700 |
| commit | 2fc82f6381da3d948e26a80688ba83ebfc1eac76 (patch) | |
| tree | cad7eb8154c3a26d2b829bf21896392b8786b438 /toolsrc/include | |
| parent | e2c671d4bdccc023a7e0d78ca5d658057543c443 (diff) | |
| download | vcpkg-2fc82f6381da3d948e26a80688ba83ebfc1eac76.tar.gz vcpkg-2fc82f6381da3d948e26a80688ba83ebfc1eac76.zip | |
[vcpkg-help] Reflow and small cleanups (#10477)
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/help.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/help.h b/toolsrc/include/vcpkg/help.h index 73549efd7..87ce60b76 100644 --- a/toolsrc/include/vcpkg/help.h +++ b/toolsrc/include/vcpkg/help.h @@ -16,4 +16,16 @@ namespace vcpkg::Help void print_usage(); std::string create_example_string(const std::string& command_and_arguments); + + struct HelpTableFormatter + { + void format(StringView col1, StringView col2); + + std::string m_str; + + private: + void newline_indent(); + void indent(); + }; + } |
